From 81ea7ad43dc78d64ce46487c70bf2abbc72a849f Mon Sep 17 00:00:00 2001 From: John Ruble Date: Sun, 30 Aug 2020 00:23:15 -0400 Subject: [PATCH] improve vendor chunk names in development --- packages/react-scripts/config/webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-scripts/config/webpack.config.js b/packages/react-scripts/config/webpack.config.js index eddca1b0707..8133faa721c 100644 --- a/packages/react-scripts/config/webpack.config.js +++ b/packages/react-scripts/config/webpack.config.js @@ -305,7 +305,7 @@ module.exports = function (webpackEnv) { // https://medium.com/webpack/webpack-4-code-splitting-chunk-graph-and-the-splitchunks-optimization-be739a861366 splitChunks: { chunks: 'all', - name: false, + name: isEnvDevelopment, }, // Keep the runtime chunk separated to enable long term caching // https://twitter.com/wSokra/status/969679223278505985