-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
How to - Split code #3
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
Comments
Based on my experience with code splitting for different single page and multi page apps, here's an idea on how it can be structured to be more applicable to a developer looking for info on code splitting (and the different types and reasons). Note: Is Potential Outline
|
Great outline and ideas! Thanks. I can see there are bits like I've been prototyping an enhanced structure that would handle that through a "how to" style miniguide. In that structure this issue would map as "how to split code". Perhaps "how to load code on demand" would be another good split. Doing this would keep the articles short and focused.
It would be good to cover here as it comes up with vendor/commons chunking. That's how I do it in my book. |
@bendman - How about info on ExtractTextPlugin here? It collects all the css chunks and puts them into a single file right? |
@pksjce I feel like that should be linked to from code-splitting, but maybe discussed in detail on its own page or section with plugins. What about briefly discussing it here along the lines of "Code Splitting Non-JS Sources". |
merge from webpack-china
Uh oh!
There was an error while loading. Please reload this page.
Stub.
Feel free to comment here if you have ideas on what this guide should cover. Link to potential resources too.
The text was updated successfully, but these errors were encountered: