-
Notifications
You must be signed in to change notification settings - Fork 61
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
compiled build with lokka is unfortunately large #32
Comments
I created new react app (with It seems that huge size comes from I ended up switching to |
@cainlevy @agentcooper if you use webpack you can add the following to your configuration:
in this case, webpack will ignore dependency on Would be nice to add this to Readme file, what do you think? @arvitaly |
well this will not work when using react-create-app |
Unless you eject it. The |
Yes this was why I ask @kadirahq about his thoughts? If there are reasons not to switch from node-fetch to whatwg-fetch |
thx @asci, this was super helpful, struggled with the bundle size as well |
We noticed that after adding
lokka
andlokka-transport-http
, our production build increased from ~75kb to ~500kb. I suspect it's thebabel-runtime
dependency.The text was updated successfully, but these errors were encountered: