Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8f2413e

Browse filesBrowse files
authored
Improve vendor chunk names in development (#9569)
1 parent 723224f commit 8f2413e
Copy full SHA for 8f2413e

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎packages/react-scripts/config/webpack.config.js

Copy file name to clipboardExpand all lines: packages/react-scripts/config/webpack.config.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ module.exports = function (webpackEnv) {
305305
// https://medium.com/webpack/webpack-4-code-splitting-chunk-graph-and-the-splitchunks-optimization-be739a861366
306306
splitChunks: {
307307
chunks: 'all',
308-
name: false,
308+
name: isEnvDevelopment,
309309
},
310310
// Keep the runtime chunk separated to enable long term caching
311311
// https://twitter.com/wSokra/status/969679223278505985

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.