-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Upgrade the project to support code-splitting #614
Comments
What is preventing code-splitting now? Do you have an error or something we can look into to observe it not splitting properly? |
I've followed your commits and managed to upgrade to webpack 4. but after upgrading webpack 4, the hot-reload time is relatively very slow, not even close to webpack 3. Do you have any idea? the webpack.config.dev.js is same as your config. |
webpack.config.dev.js
|
Not sure exactly, one thing did jump out. Why are you using a compression plugin for local development. Can you clone slingshot and see if the hot-reload is still slow using that? If so we can address that, if not it would be related to some of your customizations and this is not the best avenue to solve that. |
I've just followed compression config from their README. I thought I should have it in dev config as well. Do we need it for prod only? |
I believe that compression should only happen for production builds. Dev builds should don't need to be small, but they should be fast. Production the inverse is true. |
Hi
Can you upgrade the project to support the code-splitting?
Thanks.
The text was updated successfully, but these errors were encountered: