@@ -28,7 +28,7 @@ describe("CompressionPlugin", () => {
28
28
filename : "[name].js?var=[hash]" ,
29
29
chunkFilename : "[id].[name].js?ver=[hash]" ,
30
30
} ,
31
- }
31
+ } ,
32
32
) ;
33
33
34
34
new CompressionPlugin ( ) . apply ( compiler ) ;
@@ -51,7 +51,7 @@ describe("CompressionPlugin", () => {
51
51
filename : "[name].js?var=[hash]" ,
52
52
chunkFilename : "[id].[name].js?ver=[hash]" ,
53
53
} ,
54
- }
54
+ } ,
55
55
) ;
56
56
57
57
new CompressionPlugin ( ) . apply ( compiler ) ;
@@ -82,7 +82,7 @@ describe("CompressionPlugin", () => {
82
82
rules : [
83
83
{
84
84
loader : require . resolve (
85
- "./helpers/loader-with-child-compilation.js"
85
+ "./helpers/loader-with-child-compilation.js" ,
86
86
) ,
87
87
} ,
88
88
] ,
@@ -97,7 +97,7 @@ describe("CompressionPlugin", () => {
97
97
} ,
98
98
] ,
99
99
} ,
100
- }
100
+ } ,
101
101
) ;
102
102
103
103
new CompressionPlugin ( ) . apply ( compiler ) ;
@@ -122,7 +122,7 @@ describe("CompressionPlugin", () => {
122
122
filename : "[name].js?var=[hash]" ,
123
123
chunkFilename : "[id].[name].js?ver=[hash]" ,
124
124
} ,
125
- }
125
+ } ,
126
126
) ;
127
127
128
128
new CompressionPlugin ( {
@@ -162,7 +162,7 @@ describe("CompressionPlugin", () => {
162
162
filename : "[name].js" ,
163
163
chunkFilename : "[id].[name].js" ,
164
164
} ,
165
- }
165
+ } ,
166
166
) ;
167
167
168
168
new CompressionPlugin ( ) . apply ( compiler ) ;
@@ -188,7 +188,7 @@ describe("CompressionPlugin", () => {
188
188
filename : "[name].[contenthash].js" ,
189
189
chunkFilename : "[id].[name].[contenthash].js" ,
190
190
} ,
191
- }
191
+ } ,
192
192
) ;
193
193
194
194
new CompressionPlugin ( ) . apply ( compiler ) ;
@@ -223,7 +223,7 @@ describe("CompressionPlugin", () => {
223
223
expect ( newStats . compilation . emittedAssets . size ) . toBe ( 0 ) ;
224
224
225
225
expect ( getAssetsNameAndSize ( newStats , compiler ) ) . toMatchSnapshot (
226
- "assets"
226
+ "assets" ,
227
227
) ;
228
228
expect ( getWarnings ( newStats ) ) . toMatchSnapshot ( "errors" ) ;
229
229
expect ( getErrors ( newStats ) ) . toMatchSnapshot ( "warnings" ) ;
@@ -243,7 +243,7 @@ describe("CompressionPlugin", () => {
243
243
filename : "[name].js" ,
244
244
chunkFilename : "[id].js" ,
245
245
} ,
246
- }
246
+ } ,
247
247
) ;
248
248
249
249
new CompressionPlugin ( ) . apply ( compiler ) ;
@@ -262,7 +262,7 @@ describe("CompressionPlugin", () => {
262
262
expect ( newStats . compilation . emittedAssets . size ) . toBe ( 0 ) ;
263
263
264
264
expect ( getAssetsNameAndSize ( newStats , compiler ) ) . toMatchSnapshot (
265
- "assets"
265
+ "assets" ,
266
266
) ;
267
267
expect ( getWarnings ( newStats ) ) . toMatchSnapshot ( "errors" ) ;
268
268
expect ( getErrors ( newStats ) ) . toMatchSnapshot ( "warnings" ) ;
@@ -282,7 +282,7 @@ describe("CompressionPlugin", () => {
282
282
filename : "[name].js" ,
283
283
chunkFilename : "[id].js" ,
284
284
} ,
285
- }
285
+ } ,
286
286
) ;
287
287
288
288
new CompressionPlugin ( ) . apply ( compiler ) ;
@@ -306,7 +306,7 @@ describe("CompressionPlugin", () => {
306
306
expect ( newStats . compilation . emittedAssets . size ) . toBe ( 2 ) ;
307
307
308
308
expect ( getAssetsNameAndSize ( newStats , compiler ) ) . toMatchSnapshot (
309
- "assets"
309
+ "assets" ,
310
310
) ;
311
311
expect ( getWarnings ( newStats ) ) . toMatchSnapshot ( "errors" ) ;
312
312
expect ( getErrors ( newStats ) ) . toMatchSnapshot ( "warnings" ) ;
@@ -328,7 +328,7 @@ describe("CompressionPlugin", () => {
328
328
filename : "[name].js" ,
329
329
chunkFilename : "[id].js" ,
330
330
} ,
331
- }
331
+ } ,
332
332
) ;
333
333
334
334
new CompressionPlugin ( ) . apply ( compiler ) ;
@@ -352,7 +352,7 @@ describe("CompressionPlugin", () => {
352
352
expect ( newStats . compilation . emittedAssets . size ) . toBe ( 2 ) ;
353
353
354
354
expect ( getAssetsNameAndSize ( newStats , compiler ) ) . toMatchSnapshot (
355
- "assets"
355
+ "assets" ,
356
356
) ;
357
357
expect ( getWarnings ( newStats ) ) . toMatchSnapshot ( "errors" ) ;
358
358
expect ( getErrors ( newStats ) ) . toMatchSnapshot ( "warnings" ) ;
@@ -372,7 +372,7 @@ describe("CompressionPlugin", () => {
372
372
filename : "[name].js" ,
373
373
chunkFilename : "[id].js" ,
374
374
} ,
375
- }
375
+ } ,
376
376
) ;
377
377
378
378
new CompressionPlugin ( {
@@ -403,7 +403,7 @@ describe("CompressionPlugin", () => {
403
403
expect ( newStats . compilation . emittedAssets . size ) . toBe ( 0 ) ;
404
404
405
405
expect ( getAssetsNameAndSize ( newStats , compiler ) ) . toMatchSnapshot (
406
- "assets"
406
+ "assets" ,
407
407
) ;
408
408
expect ( getWarnings ( newStats ) ) . toMatchSnapshot ( "errors" ) ;
409
409
expect ( getErrors ( newStats ) ) . toMatchSnapshot ( "warnings" ) ;
@@ -425,7 +425,7 @@ describe("CompressionPlugin", () => {
425
425
filename : "[name].js" ,
426
426
chunkFilename : "[id].[name].js" ,
427
427
} ,
428
- }
428
+ } ,
429
429
) ;
430
430
431
431
new CompressionPlugin ( ) . apply ( compiler ) ;
@@ -444,7 +444,7 @@ describe("CompressionPlugin", () => {
444
444
expect ( newStats . compilation . emittedAssets . size ) . toBe ( 7 ) ;
445
445
446
446
expect ( getAssetsNameAndSize ( newStats , compiler ) ) . toMatchSnapshot (
447
- "assets"
447
+ "assets" ,
448
448
) ;
449
449
expect ( getWarnings ( newStats ) ) . toMatchSnapshot ( "errors" ) ;
450
450
expect ( getErrors ( newStats ) ) . toMatchSnapshot ( "warnings" ) ;
@@ -463,7 +463,7 @@ describe("CompressionPlugin", () => {
463
463
filename : "[name].js" ,
464
464
chunkFilename : "[id].js" ,
465
465
} ,
466
- }
466
+ } ,
467
467
) ;
468
468
469
469
new CompressionPlugin ( { minRatio : 10 } ) . apply ( compiler ) ;
@@ -487,7 +487,7 @@ describe("CompressionPlugin", () => {
487
487
filename : "[name].js?var=[hash]" ,
488
488
chunkFilename : "[id].[name].js?ver=[hash]" ,
489
489
} ,
490
- }
490
+ } ,
491
491
) ;
492
492
493
493
new CompressionPlugin ( ) . apply ( compiler ) ;
@@ -511,7 +511,7 @@ describe("CompressionPlugin", () => {
511
511
filename : "[name].js?var=[hash]" ,
512
512
chunkFilename : "[id].[name].js?ver=[hash]" ,
513
513
} ,
514
- }
514
+ } ,
515
515
) ;
516
516
517
517
new CompressionPlugin ( ) . apply ( compiler ) ;
0 commit comments