Skip to content

Commit 81ea7ad

Browse files
committed
improve vendor chunk names in development
1 parent 9b08e3c commit 81ea7ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-scripts/config/webpack.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ module.exports = function (webpackEnv) {
305305
// https://medium.com/webpack/webpack-4-code-splitting-chunk-graph-and-the-splitchunks-optimization-be739a861366
306306
splitChunks: {
307307
chunks: 'all',
308-
name: false,
308+
name: isEnvDevelopment,
309309
},
310310
// Keep the runtime chunk separated to enable long term caching
311311
// https://twitter.com/wSokra/status/969679223278505985

0 commit comments

Comments
 (0)