Skip to content

Commit 7813e07

Browse files
committed
adding uglify back
1 parent 9610faf commit 7813e07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webpack.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ require('dotenv').config();
44

55
const {DefinePlugin, EnvironmentPlugin} = require('webpack');
66
const CleanPlugin = require('clean-webpack-plugin');
7-
// const UglifyPlugin = require('uglifyjs-webpack-plugin');
7+
const UglifyPlugin = require('uglifyjs-webpack-plugin');
88

99
const webPackConfig = module.exports = {};
1010

@@ -34,7 +34,7 @@ webPackConfig.plugins = [
3434

3535
if(PRODUCTION) {
3636
webPackConfig.plugins = webPackConfig.plugins.concat([
37-
// new UglifyPlugin(),
37+
new UglifyPlugin(),
3838
new CleanPlugin(),
3939
]);
4040
}

0 commit comments

Comments
 (0)