-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expo and build for web fails #86
Comments
Could you try v1.4? |
Yup, it works with 1.4. Thanks. |
This might be due to using expo module scripts. Will have to investigate. |
Could you please upgrade to the latest and try doing this:
Create a custom const createExpoWebpackConfigAsync = require('@expo/webpack-config')
module.exports = async function (env, argv) {
const config = await createExpoWebpackConfigAsync(
{
...env,
babel: { dangerouslyAddModulePathsToTranspile: ['dripsy', '@dripsy'] },
},
argv
)
return config
} Please let me know if this solves it! |
It's working now. Thank you. |
Sounds good! If you run |
Hello
I just started a new expo project today. Managed flow, empty js project. I added dripsy and few other stuff, it builds and works correctly in native versions, on iOS simulator at least. But web version doesn't build and I am getting this:
Failed to compile:
... and few more similar errors...
Package json dependencies:
Web version is working correctly, until I import any dripsy component... Any ideas?
The text was updated successfully, but these errors were encountered: