Skip to content

Commit

Permalink
fix: remove terser for prod, debug
Browse files Browse the repository at this point in the history
  • Loading branch information
kyranjamie committed Sep 25, 2020
1 parent d8d2ed2 commit 3d7cef4
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions configs/webpack.config.renderer.prod.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,17 +89,17 @@ export default merge.smart(baseConfig, {
],
},

optimization: {
minimizer: process.env.E2E_BUILD
? []
: [
new TerserPlugin({
parallel: true,
sourceMap: true,
cache: true,
}),
],
},
// optimization: {
// minimizer: process.env.E2E_BUILD
// ? []
// : [
// new TerserPlugin({
// parallel: true,
// sourceMap: true,
// cache: true,
// }),
// ],
// },

plugins: [
/**
Expand Down

0 comments on commit 3d7cef4

Please sign in to comment.