We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9610faf commit 7813e07Copy full SHA for 7813e07
webpack.config.js
@@ -4,7 +4,7 @@ require('dotenv').config();
4
5
const {DefinePlugin, EnvironmentPlugin} = require('webpack');
6
const CleanPlugin = require('clean-webpack-plugin');
7
-// const UglifyPlugin = require('uglifyjs-webpack-plugin');
+const UglifyPlugin = require('uglifyjs-webpack-plugin');
8
9
const webPackConfig = module.exports = {};
10
@@ -34,7 +34,7 @@ webPackConfig.plugins = [
34
35
if(PRODUCTION) {
36
webPackConfig.plugins = webPackConfig.plugins.concat([
37
- // new UglifyPlugin(),
+ new UglifyPlugin(),
38
new CleanPlugin(),
39
]);
40
}
0 commit comments