Skip to content

Commit

Permalink
improve vendor chunk names in development
Browse files Browse the repository at this point in the history
  • Loading branch information
jrr committed Oct 12, 2020
1 parent d5c0fe2 commit 8432ce1
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 @@ -290,7 +290,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 8432ce1

Please sign in to comment.