summaryrefslogtreecommitdiff
path: root/webpack/plugins
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-05-17 00:36:42 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-05-17 00:36:42 +0900
commit1a474d13d6abcf24750e33fc5d94b211e61b5684 (patch)
tree288d701d8ed609cc20175d80a2fdc9eb9c6fc397 /webpack/plugins
parentRevert "Compress an assets" (diff)
downloadsharkey-1a474d13d6abcf24750e33fc5d94b211e61b5684.tar.gz
sharkey-1a474d13d6abcf24750e33fc5d94b211e61b5684.tar.bz2
sharkey-1a474d13d6abcf24750e33fc5d94b211e61b5684.zip
Enable uglify
Diffstat (limited to 'webpack/plugins')
-rw-r--r--webpack/plugins/index.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/webpack/plugins/index.ts b/webpack/plugins/index.ts
index 0692b9f8dd..1f46247eea 100644
--- a/webpack/plugins/index.ts
+++ b/webpack/plugins/index.ts
@@ -1,3 +1,4 @@
+import * as webpack from 'webpack';
const StringReplacePlugin = require('string-replace-webpack-plugin');
import constant from './const';
@@ -12,7 +13,7 @@ export default () => {
];
if (isProduction) {
- //plugins.push(new webpack.optimize.UglifyJsPlugin());
+ plugins.push(new webpack.optimize.UglifyJsPlugin());
}
return plugins;