We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6756be6 commit 23bfc37Copy full SHA for 23bfc37
webpack/plugins.js
@@ -3,7 +3,7 @@ const ExtractTextPlugin = require('extract-text-webpack-plugin');
3
const HtmlWebpackPlugin = require('html-webpack-plugin');
4
const SplitByPathPlugin = require('webpack-split-by-path');
5
const CopyWebpackPlugin = require('copy-webpack-plugin');
6
-const UglifyJSPlugin = require('uglifyjs-webpack-plugin')
+const UglifyJSPlugin = require('uglifyjs-webpack-plugin');
7
const path = require('path');
8
9
const { NODE_ENV } = process.env;
@@ -38,7 +38,7 @@ const plugins = [
38
39
if (NODE_ENV === 'production') {
40
plugins.push(
41
- new UglifyJsPlugin({
+ new UglifyJSPlugin({
42
compress: {
43
warnings: false
44
}
0 commit comments