Skip to content

Commit

Permalink
Improve vendor chunk names in development (facebook#9569)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrr authored and abhiisheek committed May 19, 2023
1 parent 988e5a2 commit 397a19a
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 397a19a

Please sign in to comment.