We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
options.uglifyOptions
1 parent da889c7 commit cb56d18Copy full SHA for cb56d18
test/statsCases/filter-warnings/webpack.config.js
@@ -1,20 +1,26 @@
1
-"use strict";
2
const webpack = require("../../../");
3
4
const baseConfig = {
5
entry: "./index",
6
output: {
7
filename: "bundle.js"
8
},
9
- plugins: [new webpack.optimize.UglifyJsPlugin({
10
- sourceMap: true,
11
- compress: {
12
- warnings: true,
13
- },
14
- mangle: false,
15
- beautify: true,
16
- comments: false
17
- })],
+ plugins: [
+ new webpack.optimize.UglifyJsPlugin({
+ sourceMap: true,
+ uglifyOptions: {
+ compress: {
+ warnings: true,
+ },
+ mangle: false,
+ output: {
+ beautify: true,
18
+ comments: false
19
20
+ warnings: true
21
+ }
22
+ })
23
+ ],
24
stats: {
25
chunkModules: false,
26
modules: false,
0 commit comments