mirror of
https://github.com/ascribe/onion.git
synced 2025-01-03 10:25:08 +01:00
Add dedupe webpack plugin for production builds
This commit is contained in:
parent
1a8691bc53
commit
c13a24a107
@ -82,6 +82,7 @@ const PLUGINS = [
|
|||||||
];
|
];
|
||||||
|
|
||||||
const PROD_PLUGINS = [
|
const PROD_PLUGINS = [
|
||||||
|
new webpack.optimize.DedupePlugin(),
|
||||||
new webpack.optimize.UglifyJsPlugin({
|
new webpack.optimize.UglifyJsPlugin({
|
||||||
compress: {
|
compress: {
|
||||||
warnings: false
|
warnings: false
|
||||||
|
Loading…
Reference in New Issue
Block a user