Skip to content

Commit 9701ba8

Browse files
committed
Disable webpack chunk rollup
1 parent f11bea1 commit 9701ba8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ module.exports = {
121121
// https://medium.com/webpack/webpack-4-code-splitting-chunk-graph-and-the-splitchunks-optimization-be739a861366
122122
splitChunks: {
123123
chunks: 'all',
124-
name: 'vendors',
124+
name: false,
125125
},
126126
// Keep the runtime chunk seperated to enable long term caching
127127
// https://twitter.com/wSokra/status/969679223278505985

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ module.exports = {
159159
// https://medium.com/webpack/webpack-4-code-splitting-chunk-graph-and-the-splitchunks-optimization-be739a861366
160160
splitChunks: {
161161
chunks: 'all',
162-
name: 'vendors',
162+
name: false,
163163
},
164164
// Keep the runtime chunk seperated to enable long term caching
165165
// https://twitter.com/wSokra/status/969679223278505985

0 commit comments

Comments
 (0)