Skip to content

Commit 936e131

Browse files
committed
Merge the 2 optimization blocks
1 parent 2cbb719 commit 936e131

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@ module.exports = {
165165
// Keep the runtime chunk seperated to enable long term caching
166166
// https://twitter.com/wSokra/status/969679223278505985
167167
runtimeChunk: true,
168+
// webpack-manifest-plugin currently does not play well with ConcatenatedModule
169+
concatenateModules: false,
168170
},
169171
resolve: {
170172
// This allows you to set a fallback for where Webpack should look for modules.
@@ -479,8 +481,4 @@ module.exports = {
479481
// Turn off performance processing because we utilize
480482
// our own hints via the FileSizeReporter
481483
performance: false,
482-
optimization: {
483-
// webpack-manifest-plugin currently does not play well with ConcatenatedModule
484-
concatenateModules: false,
485-
},
486484
};

0 commit comments

Comments
 (0)