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

Fix/webpack chunkname with hash #1530

Merged
merged 2 commits into from
Aug 19, 2019
Merged

Conversation

sirreal
Copy link
Member

@sirreal sirreal commented Aug 16, 2019

Add chunkhash to chunkFilename

Alternative to #1516 (reverted here).

Reports of the wrong chunk being served with a particular build suggest
that cached, stale chunks may be served. This results in a broken
application.

Add chunkhash to the chunkFilename to ensure that the expected chunks
are requested and eliminate issues with cached chunks.

See
https://webpack.js.org/configuration/output/#outputchunkfilename

Please test and review carefully, I'm new to this codebase

Reports of the wrong chunk being served with a particular build suggest
that cached, stale chunks may be served. This results in a broken
application.

Add chunkhash to the chunkFilename to ensure that the expected chunks
are requested and eliminate issues with cached chunks.

See
https://webpack.js.org/configuration/output/#outputchunkfilename
@sirreal sirreal added tooling Related to anything that supports the building & maintaining of the project. [status] needs code review labels Aug 16, 2019
@sirreal sirreal requested review from theck13 and belcherj August 16, 2019 09:05
@sirreal sirreal self-assigned this Aug 16, 2019
@belcherj
Copy link
Contributor

This PR would require some changes to the backend. I will see about making those changes but this may have to wait till I'm back from AFK. Thank you so much for this. I had been meaning to make this change.

@belcherj belcherj merged commit 4bc857e into develop Aug 19, 2019
@belcherj belcherj deleted the fix/webpack-chunkname-with-hash branch August 19, 2019 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tooling Related to anything that supports the building & maintaining of the project.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants