@@ -13,9 +13,6 @@ describe('when options.extractComments', () => {
1313 const plugin = new UglifyJsPlugin ( {
1414 uglifyOptions : {
1515 warnings : true ,
16- output : {
17- comments : false ,
18- } ,
1916 mangle : {
2017 properties : {
2118 builtins : true ,
@@ -77,11 +74,6 @@ describe('when options.extractComments', () => {
7774 compilerEnv . context = '' ;
7875
7976 const plugin = new UglifyJsPlugin ( {
80- uglifyOptions : {
81- output : {
82- comments : false ,
83- } ,
84- } ,
8577 extractComments : true ,
8678 } ) ;
8779 plugin . apply ( compilerEnv ) ;
@@ -119,11 +111,6 @@ describe('when options.extractComments', () => {
119111 compilerEnv . context = '' ;
120112
121113 const plugin = new UglifyJsPlugin ( {
122- uglifyOptions : {
123- output : {
124- comments : false ,
125- } ,
126- } ,
127114 extractComments : / f o o / ,
128115 } ) ;
129116 plugin . apply ( compilerEnv ) ;
@@ -161,11 +148,6 @@ describe('when options.extractComments', () => {
161148 compilerEnv . context = '' ;
162149
163150 const plugin = new UglifyJsPlugin ( {
164- uglifyOptions : {
165- output : {
166- comments : false ,
167- } ,
168- } ,
169151 extractComments : 'all' ,
170152 } ) ;
171153 plugin . apply ( compilerEnv ) ;
@@ -204,11 +186,6 @@ describe('when options.extractComments', () => {
204186 compilerEnv . context = '' ;
205187
206188 const plugin = new UglifyJsPlugin ( {
207- uglifyOptions : {
208- output : {
209- comments : false ,
210- } ,
211- } ,
212189 extractComments : ( ) => true ,
213190 } ) ;
214191 plugin . apply ( compilerEnv ) ;
@@ -247,11 +224,6 @@ describe('when options.extractComments', () => {
247224 compilerEnv . context = '' ;
248225
249226 const plugin = new UglifyJsPlugin ( {
250- uglifyOptions : {
251- output : {
252- comments : false ,
253- } ,
254- } ,
255227 extractComments : {
256228 condition : true ,
257229 filename ( file ) {
0 commit comments