Skip to content

Commit 8432ce1

Browse files
committed
improve vendor chunk names in development
1 parent d5c0fe2 commit 8432ce1

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
@@ -290,7 +290,7 @@ module.exports = function (webpackEnv) {
290290
// https://medium.com/webpack/webpack-4-code-splitting-chunk-graph-and-the-splitchunks-optimization-be739a861366
291291
splitChunks: {
292292
chunks: 'all',
293-
name: false,
293+
name: isEnvDevelopment,
294294
},
295295
// Keep the runtime chunk separated to enable long term caching
296296
// https://twitter.com/wSokra/status/969679223278505985

0 commit comments

Comments
 (0)