mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-05-15 17:47:41 +08:00
Disable webpack chunk coalescing (#5030)
* Disable webpack chunk rollup * Bump timeout * Revert "Bump timeout" This reverts commit 84632115d178b48e08eb75dc5e9a921ece6aa759.
This commit is contained in:
@@ -121,7 +121,7 @@ module.exports = {
|
||||
// https://medium.com/webpack/webpack-4-code-splitting-chunk-graph-and-the-splitchunks-optimization-be739a861366
|
||||
splitChunks: {
|
||||
chunks: 'all',
|
||||
name: 'vendors',
|
||||
name: false,
|
||||
},
|
||||
// Keep the runtime chunk seperated to enable long term caching
|
||||
// https://twitter.com/wSokra/status/969679223278505985
|
||||
|
||||
@@ -159,7 +159,7 @@ module.exports = {
|
||||
// https://medium.com/webpack/webpack-4-code-splitting-chunk-graph-and-the-splitchunks-optimization-be739a861366
|
||||
splitChunks: {
|
||||
chunks: 'all',
|
||||
name: 'vendors',
|
||||
name: false,
|
||||
},
|
||||
// Keep the runtime chunk seperated to enable long term caching
|
||||
// https://twitter.com/wSokra/status/969679223278505985
|
||||
|
||||
Reference in New Issue
Block a user