Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add vendor chunk #85

Open
richardscarrott opened this issue Apr 14, 2017 · 0 comments
Open

Add vendor chunk #85

richardscarrott opened this issue Apr 14, 2017 · 0 comments

Comments

@richardscarrott
Copy link
Member

It'd be good to take advantage of LTC for node_modules as they're less likely to change so frequently.

The new code splitting PR adds a bootstrap chunk which could double up as a vendor chunk too.

Main issues are pulling out the chunk manifest from the webpack boostrap to ensure changes to other chunks don't invalidate the entry chunk. Also need to review records / deterministic re-builds (i.e. use hashes or names instead of indexes as module ids).

At the moment there's an issue when using the chunk-manifest-webpack-plugin as the chunkhash is generated before the plugin runs...workarounds could include the webpackmd5hash plugin...

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant