You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Filename "[fullhash]" does not work in production mode, the output filename hash is different from the compilation hash.
However, when I set optimization.realContentHash is false, it works. Seems we should not add contentHash if this chunk is a fullHashModule when createHash.
This issue has been automatically marked as stale because it has not had recent activity. If this issue is still affecting you, please leave any comment (for example, "bump"). We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!
System Info
rspack 0.6.3
Details
Filename "[fullhash]" does not work in production mode, the output filename hash is different from the compilation hash.
However, when I set
optimization.realContentHash
is false, it works. Seems we should not addcontentHash
if this chunk is afullHashModule
whencreateHash
.Reference webpack:
https://github.com/webpack/webpack/blob/7b4775cebe372f9396d8f3b61ef1347cb633956e/lib/Compilation.js#L4334-L4337
https://github.com/webpack/webpack/blob/ab47c696a403862dbd996f8c2f1ef3770f24ee09/lib/optimize/RealContentHashPlugin.js#L173-L192
Reproduce link
No response
Reproduce Steps
Apply the following configuration in
rspack.config.js
:The text was updated successfully, but these errors were encountered: