Closed
Description
Environment
3.1.2
Steps to Reproduce
- Run a production build using Gitlab CI
- See that content hashes in dist/static/js/***.bundle.js gets regenerated every time:
- Removing, makes it work again:
webpackConfig.plugins.push(
sentryWebpackPlugin({
project: 'XXX',
org: 'XXX',
release: process.env.VERSION,
include: './dist',
dryRun: !!process.env.ANALYZE,
rewrite: false,
})
);
- Also setting realContentHash to false makes it work, but that might cause other problems:
optimization: {
realContentHash: false,
},
Expected Result
Should not change on each rebuild.
Actual Result
New dist/static/js/***.bundle.js files every time. Also tried rewrite: true/false to no avail.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
No status