Skip to content
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

If a chunk changes, the main entry's chunkhash will not change. #6

Open
ibufu opened this issue Aug 30, 2016 · 4 comments
Open

If a chunk changes, the main entry's chunkhash will not change. #6

ibufu opened this issue Aug 30, 2016 · 4 comments

Comments

@ibufu
Copy link

ibufu commented Aug 30, 2016

If a chunk changes, the entry's chunkhash will not change. So, users will get old version of entry and chun.

@okonet
Copy link
Owner

okonet commented Aug 30, 2016

That's why the manifest should be extracted and inlined. Or am I missing something?

@ibufu
Copy link
Author

ibufu commented Aug 31, 2016

@okonet
Sorry, how to use chunk-manifest-webpack-plugin with html-webpack-plugin?

@okonet
Copy link
Owner

okonet commented Aug 31, 2016

You should use https://github.com/szrenwei/inline-manifest-webpack-plugin with the html-webpack-plugin. I'll probably add this to this repo since html-webpack-plugin seems to be a very popular option.

@ibufu
Copy link
Author

ibufu commented Aug 31, 2016

I tried inline-manifest-webpack-plugin, but it didn't work. It had an error that webpackManifest is not defined.I just want some plugin can inject content of manifest.json to html.
So, I pull a request soundcloud/chunk-manifest-webpack-plugin#15.

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

No branches or pull requests

2 participants