Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork388
bug: add failing test for hashSalt in prod mode (realContentHash)#778
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Setting output.hashSalt together with optimization.realContentHash (e.g. prod mode)results in wrong urls for asset-modules, resulting in broken bundles.Added test seems to be minimum to reproduce.
codecovbot commentedJul 1, 2021 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Codecov Report
@@ Coverage Diff @@## master #778 +/- ##======================================= Coverage 92.04% 92.04% ======================================= Files 6 6 Lines 704 704 Branches 170 170 ======================================= Hits 648 648 Misses 53 53 Partials 3 3 Continue to review full report at Codecov.
|
@wejendorp what is mini-css-extract-version? |
Yep, bug, we will try to fix it in near future |
Thank you for verifying@alexander-akait, let me know if I can help or anything. |
Uh oh!
There was an error while loading.Please reload this page.
This PR contains a:
Motivation / Use-Case
We noticed a bug with our bundles after adding salt values to the build.
Setting output.hashSalt together with optimization.realContentHash (e.g. prod mode)
results in wrong urls for asset-modules, resulting in broken bundles.
The added test seems to be minimum to reproduce. For context (sanity check), the naming issue
does not happen if the asset module is referenced from a js module instead.
Breaking Changes
None
Additional Info
This PR is just a bug report in the form of a failing test. I hope it can be useful to someone.