File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/react-scripts/config Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -161,11 +161,11 @@ module.exports = function(webpackEnv) {
161161 // There will be one main bundle, and one file per asynchronous chunk.
162162 // In development, it does not produce real files.
163163 filename : isEnvProduction
164- ? 'static/js/[name].[chunkhash :8].js'
164+ ? 'static/js/[name].[contenthash :8].js'
165165 : isEnvDevelopment && 'static/js/bundle.js' ,
166166 // There are also additional JS chunk files if you use code splitting.
167167 chunkFilename : isEnvProduction
168- ? 'static/js/[name].[chunkhash :8].chunk.js'
168+ ? 'static/js/[name].[contenthash :8].chunk.js'
169169 : isEnvDevelopment && 'static/js/[name].chunk.js' ,
170170 // We inferred the "public path" (such as / or /my-project) from homepage.
171171 // We use "/" in development.
You can’t perform that action at this time.
0 commit comments