Skip to content

Commit

Permalink
Improve vendor chunk names in development (#9569)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrr authored Dec 8, 2020
1 parent 723224f commit 8f2413e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-scripts/config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8f2413e

Please sign in to comment.