Skip to content

Commit 8f2413e

Browse files
authoredDec 8, 2020
Improve vendor chunk names in development (#9569)
1 parent 723224f commit 8f2413e

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)
Please sign in to comment.