From 936e131dc1cc74ab0dcf87cc84b43f4c393a6ff4 Mon Sep 17 00:00:00 2001 From: Tom Crockett Date: Wed, 16 May 2018 22:44:35 -0700 Subject: [PATCH] Merge the 2 optimization blocks --- packages/react-scripts/config/webpack.config.prod.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/react-scripts/config/webpack.config.prod.js b/packages/react-scripts/config/webpack.config.prod.js index 968f75219f6..da42c42bfd2 100644 --- a/packages/react-scripts/config/webpack.config.prod.js +++ b/packages/react-scripts/config/webpack.config.prod.js @@ -165,6 +165,8 @@ module.exports = { // Keep the runtime chunk seperated to enable long term caching // https://twitter.com/wSokra/status/969679223278505985 runtimeChunk: true, + // webpack-manifest-plugin currently does not play well with ConcatenatedModule + concatenateModules: false, }, resolve: { // This allows you to set a fallback for where Webpack should look for modules. @@ -479,8 +481,4 @@ module.exports = { // Turn off performance processing because we utilize // our own hints via the FileSizeReporter performance: false, - optimization: { - // webpack-manifest-plugin currently does not play well with ConcatenatedModule - concatenateModules: false, - }, };