Skip to content

Commit

Permalink
Merge the 2 optimization blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
pelotom committed May 17, 2018
1 parent 2cbb719 commit 936e131
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/react-scripts/config/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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,
},
};

0 comments on commit 936e131

Please sign in to comment.