-
Notifications
You must be signed in to change notification settings - Fork 38
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
Version 1.4 does not work with webpack #7
Comments
Seeing the same issue when using with React Native's packager |
I'm playing catch-up here, but what was the point of removing |
Any update on this? |
Same here. Is the project dying out? @arunoda |
The solution is comment these lines on node_modules/lokka-transport-http/dist/index.js if (typeof fetch === 'function') { |
In version 1.4 you have removed the use of
isomorphic-fetch
. This however causes problem in webpack, as it now tries to build the app with bothwhatwg-fetch
andnode-fetch
, which fails.A possible workaround for this issue would be to configure webpack so it uses something like a
null-loader
fornode-fetch
, but I consider this more like a hack than a real solution.The text was updated successfully, but these errors were encountered: