@@ -13,9 +13,6 @@ describe('when options.extractComments', () => {
13
13
const plugin = new UglifyJsPlugin ( {
14
14
uglifyOptions : {
15
15
warnings : true ,
16
- output : {
17
- comments : false ,
18
- } ,
19
16
mangle : {
20
17
properties : {
21
18
builtins : true ,
@@ -77,11 +74,6 @@ describe('when options.extractComments', () => {
77
74
compilerEnv . context = '' ;
78
75
79
76
const plugin = new UglifyJsPlugin ( {
80
- uglifyOptions : {
81
- output : {
82
- comments : false ,
83
- } ,
84
- } ,
85
77
extractComments : true ,
86
78
} ) ;
87
79
plugin . apply ( compilerEnv ) ;
@@ -119,11 +111,6 @@ describe('when options.extractComments', () => {
119
111
compilerEnv . context = '' ;
120
112
121
113
const plugin = new UglifyJsPlugin ( {
122
- uglifyOptions : {
123
- output : {
124
- comments : false ,
125
- } ,
126
- } ,
127
114
extractComments : / f o o / ,
128
115
} ) ;
129
116
plugin . apply ( compilerEnv ) ;
@@ -161,11 +148,6 @@ describe('when options.extractComments', () => {
161
148
compilerEnv . context = '' ;
162
149
163
150
const plugin = new UglifyJsPlugin ( {
164
- uglifyOptions : {
165
- output : {
166
- comments : false ,
167
- } ,
168
- } ,
169
151
extractComments : 'all' ,
170
152
} ) ;
171
153
plugin . apply ( compilerEnv ) ;
@@ -204,11 +186,6 @@ describe('when options.extractComments', () => {
204
186
compilerEnv . context = '' ;
205
187
206
188
const plugin = new UglifyJsPlugin ( {
207
- uglifyOptions : {
208
- output : {
209
- comments : false ,
210
- } ,
211
- } ,
212
189
extractComments : ( ) => true ,
213
190
} ) ;
214
191
plugin . apply ( compilerEnv ) ;
@@ -247,11 +224,6 @@ describe('when options.extractComments', () => {
247
224
compilerEnv . context = '' ;
248
225
249
226
const plugin = new UglifyJsPlugin ( {
250
- uglifyOptions : {
251
- output : {
252
- comments : false ,
253
- } ,
254
- } ,
255
227
extractComments : {
256
228
condition : true ,
257
229
filename ( file ) {
0 commit comments