@@ -351,15 +351,10 @@ describe('BundleTrackerPlugin bases tests', () => {
351
351
{
352
352
status : 'done' ,
353
353
chunks : {
354
- app1 : [ 'js/vendors.js' , 'js/ commons.js', 'js/app1.js' ] ,
355
- app2 : [ 'js/vendors.js' , 'js/ commons.js', 'js/app2.js' ] ,
354
+ app1 : [ 'js/commons.js' , 'js/app1.js' ] ,
355
+ app2 : [ 'js/commons.js' , 'js/app2.js' ] ,
356
356
} ,
357
357
assets : {
358
- 'js/2.js' : {
359
- name : 'js/2.js' ,
360
- path : 'js/2.js' ,
361
- publicPath : 'http://localhost:3000/assets/js/2.js' ,
362
- } ,
363
358
'js/app1.js' : {
364
359
name : 'js/app1.js' ,
365
360
path : 'js/app1.js' ,
@@ -375,11 +370,6 @@ describe('BundleTrackerPlugin bases tests', () => {
375
370
path : 'js/commons.js' ,
376
371
publicPath : 'http://localhost:3000/assets/js/commons.js' ,
377
372
} ,
378
- 'js/vendors.js' : {
379
- name : 'js/vendors.js' ,
380
- path : 'js/vendors.js' ,
381
- publicPath : 'http://localhost:3000/assets/js/vendors.js' ,
382
- } ,
383
373
} ,
384
374
} ,
385
375
'webpack-stats.json' ,
@@ -446,8 +436,8 @@ describe('BundleTrackerPlugin bases tests', () => {
446
436
{
447
437
status : 'done' ,
448
438
chunks : {
449
- app1 : [ 'js/vendors.js' , 'js/ commons.js', 'js/app1.js' ] ,
450
- appWithAssets : [ 'js/vendors.js' , 'js/ commons.js', 'styles.css' , 'js/appWithAssets.js' ] ,
439
+ app1 : [ 'js/commons.js' , 'js/app1.js' ] ,
440
+ appWithAssets : [ 'js/commons.js' , 'styles.css' , 'js/appWithAssets.js' ] ,
451
441
} ,
452
442
publicPath : 'http://localhost:3000/assets/' ,
453
443
assets : {
@@ -457,18 +447,6 @@ describe('BundleTrackerPlugin bases tests', () => {
457
447
integrity : expect . stringMatching ( / ^ ^ s h a 2 5 6 - [ \w + = / ] + s h a 3 8 4 - [ \w + = / ] + s h a 5 1 2 - [ \w + = / ] + $ / ) ,
458
448
publicPath : 'http://localhost:3000/assets/js/commons.js' ,
459
449
} ,
460
- 'js/vendors.js' : {
461
- name : 'js/vendors.js' ,
462
- path : 'js/vendors.js' ,
463
- integrity : expect . stringMatching ( / ^ ^ s h a 2 5 6 - [ \w + = / ] + s h a 3 8 4 - [ \w + = / ] + s h a 5 1 2 - [ \w + = / ] + $ / ) ,
464
- publicPath : 'http://localhost:3000/assets/js/vendors.js' ,
465
- } ,
466
- 'js/2.js' : {
467
- name : 'js/2.js' ,
468
- path : 'js/2.js' ,
469
- integrity : expect . stringMatching ( / ^ ^ s h a 2 5 6 - [ \w + = / ] + s h a 3 8 4 - [ \w + = / ] + s h a 5 1 2 - [ \w + = / ] + $ / ) ,
470
- publicPath : 'http://localhost:3000/assets/js/2.js' ,
471
- } ,
472
450
'js/app1.js' : {
473
451
name : 'js/app1.js' ,
474
452
path : 'js/app1.js' ,
@@ -571,13 +549,8 @@ describe('BundleTrackerPlugin bases tests', () => {
571
549
{
572
550
status : 'done' ,
573
551
chunks : {
574
- app1 : [
575
- expect . stringMatching ( / ^ j s \/ v e n d o r s .j s $ / ) ,
576
- expect . stringMatching ( / ^ j s \/ c o m m o n s .j s $ / ) ,
577
- expect . stringMatching ( / ^ j s \/ a p p 1 .j s $ / ) ,
578
- ] ,
552
+ app1 : [ expect . stringMatching ( / ^ j s \/ c o m m o n s .j s $ / ) , expect . stringMatching ( / ^ j s \/ a p p 1 .j s $ / ) ] ,
579
553
appWithAssets : [
580
- expect . stringMatching ( / ^ j s \/ v e n d o r s .j s $ / ) ,
581
554
expect . stringMatching ( / ^ j s \/ c o m m o n s .j s $ / ) ,
582
555
expect . stringMatching ( / ^ c s s \/ a p p W i t h A s s e t s .c s s $ / ) ,
583
556
expect . stringMatching ( / ^ j s \/ a p p W i t h A s s e t s .j s $ / ) ,
@@ -589,16 +562,6 @@ describe('BundleTrackerPlugin bases tests', () => {
589
562
path : 'js/commons.js' ,
590
563
publicPath : 'http://localhost:3000/assets/js/commons.js' ,
591
564
} ,
592
- 'js/vendors.js' : {
593
- name : 'js/vendors.js' ,
594
- path : 'js/vendors.js' ,
595
- publicPath : 'http://localhost:3000/assets/js/vendors.js' ,
596
- } ,
597
- 'js/2.js' : {
598
- name : 'js/2.js' ,
599
- path : 'js/2.js' ,
600
- publicPath : 'http://localhost:3000/assets/js/2.js' ,
601
- } ,
602
565
'js/app1.js' : {
603
566
name : 'js/app1.js' ,
604
567
path : 'js/app1.js' ,
@@ -619,16 +582,6 @@ describe('BundleTrackerPlugin bases tests', () => {
619
582
path : 'js/commons.js.gz' ,
620
583
publicPath : 'http://localhost:3000/assets/js/commons.js.gz' ,
621
584
} ,
622
- 'js/vendors.js.gz' : {
623
- name : 'js/vendors.js.gz' ,
624
- path : 'js/vendors.js.gz' ,
625
- publicPath : 'http://localhost:3000/assets/js/vendors.js.gz' ,
626
- } ,
627
- 'js/2.js.gz' : {
628
- name : 'js/2.js.gz' ,
629
- path : 'js/2.js.gz' ,
630
- publicPath : 'http://localhost:3000/assets/js/2.js.gz' ,
631
- } ,
632
585
'js/app1.js.gz' : {
633
586
name : 'js/app1.js.gz' ,
634
587
path : 'js/app1.js.gz' ,
@@ -649,21 +602,11 @@ describe('BundleTrackerPlugin bases tests', () => {
649
602
path : 'js/commons.js.br' ,
650
603
publicPath : 'http://localhost:3000/assets/js/commons.js.br' ,
651
604
} ,
652
- 'js/2.js.br' : {
653
- name : 'js/2.js.br' ,
654
- path : 'js/2.js.br' ,
655
- publicPath : 'http://localhost:3000/assets/js/2.js.br' ,
656
- } ,
657
605
'css/appWithAssets.css.br' : {
658
606
name : 'css/appWithAssets.css.br' ,
659
607
path : 'css/appWithAssets.css.br' ,
660
608
publicPath : 'http://localhost:3000/assets/css/appWithAssets.css.br' ,
661
609
} ,
662
- 'js/vendors.js.br' : {
663
- name : 'js/vendors.js.br' ,
664
- path : 'js/vendors.js.br' ,
665
- publicPath : 'http://localhost:3000/assets/js/vendors.js.br' ,
666
- } ,
667
610
'js/app1.js.br' : {
668
611
name : 'js/app1.js.br' ,
669
612
path : 'js/app1.js.br' ,
0 commit comments