Skip to content
Prev Previous commit
Next Next commit
fix optimization
  • Loading branch information
Jack Zhao committed May 17, 2018
commit 918f5494f14c0839219f6adbb259168a20cd02a0
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 @@ -115,6 +115,8 @@ module.exports = {
.replace(/\\/g, '/'),
},
optimization: {
// webpack-manifest-plugin currently does not play well with ConcatenatedModule
concatenateModules: false,
minimizer: [
new UglifyJsPlugin({
uglifyOptions: {
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,
},
};