1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 17:33:14 +01:00

Add dedupe webpack plugin for production builds

This commit is contained in:
Brett Sun 2016-06-03 11:17:07 +02:00
parent 1a8691bc53
commit c13a24a107

View File

@ -82,6 +82,7 @@ const PLUGINS = [
];
const PROD_PLUGINS = [
new webpack.optimize.DedupePlugin(),
new webpack.optimize.UglifyJsPlugin({
compress: {
warnings: false