Skip to content

Conversation

@Lyrkan
Copy link
Collaborator

@Lyrkan Lyrkan commented Oct 8, 2019

Fix a broken test on develop following the merge of #648.

Not sure why the main.js and runtime.js hashes changed, but their content stayed exactly the same.

@weaverryan
Copy link
Member

Thanks for catching that for me @Lyrkan :)

weaverryan added a commit that referenced this pull request Oct 9, 2019
…kan)

This PR was merged into the master branch.

Discussion
----------

Fix hashes in the "Copy with versioning enabled" test

Fix a broken test on develop following the merge of #648.

Not sure why the main.js and runtime.js hashes changed, but their content stayed exactly the same.

Commits
-------

84561d9 Fix hashes in the "Copy with versioning enabled" test
@weaverryan weaverryan merged commit 84561d9 into symfony:master Oct 9, 2019
@stof
Copy link
Member

stof commented Oct 9, 2019

Not sure why the main.js and runtime.js hashes changed, but their content stayed exactly the same.

That's because webpack 4 is not hashing the output file. The hash is based on input files and some parts of the webpack config.
This will probably change in webpack 5 as they are working on better long-term caching.

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

Successfully merging this pull request may close these issues.

3 participants