File tree 1 file changed +2
-2
lines changed
packages/react-scripts/config
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) {
161
161
// There will be one main bundle, and one file per asynchronous chunk.
162
162
// In development, it does not produce real files.
163
163
filename : isEnvProduction
164
- ? 'static/js/[name].[chunkhash :8].js'
164
+ ? 'static/js/[name].[contenthash :8].js'
165
165
: isEnvDevelopment && 'static/js/bundle.js' ,
166
166
// There are also additional JS chunk files if you use code splitting.
167
167
chunkFilename : isEnvProduction
168
- ? 'static/js/[name].[chunkhash :8].chunk.js'
168
+ ? 'static/js/[name].[contenthash :8].chunk.js'
169
169
: isEnvDevelopment && 'static/js/[name].chunk.js' ,
170
170
// We inferred the "public path" (such as / or /my-project) from homepage.
171
171
// We use "/" in development.
You can’t perform that action at this time.
0 commit comments