Skip to content

Commit

Permalink
fix(scripts): remove invalid options from uglifyjs
Browse files Browse the repository at this point in the history
  • Loading branch information
idiotWu committed May 13, 2019
1 parent b21ebb8 commit dc60a77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions scripts/webpack.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,7 @@ module.exports = merge(baseConfig, {
libraryExport: 'default',
},
plugins: [
new UglifyJSPlugin({
output: {
comments: false,
},
}),
new UglifyJSPlugin(),
new webpack.optimize.ModuleConcatenationPlugin(),
],
});
6 changes: 1 addition & 5 deletions scripts/webpack.prod.plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,7 @@ module.exports = merge(baseConfig, {
},
},
plugins: [
new UglifyJSPlugin({
output: {
comments: false,
},
}),
new UglifyJSPlugin(),
new webpack.optimize.ModuleConcatenationPlugin(),
],
});

0 comments on commit dc60a77

Please sign in to comment.