File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -527,10 +527,6 @@ function resolveEntryFork(resolvedEntry, isFBBundle) {
527
527
}
528
528
529
529
async function createBundle ( bundle , bundleType ) {
530
- if ( shouldSkipBundle ( bundle , bundleType ) ) {
531
- return ;
532
- }
533
-
534
530
const filename = getFilename ( bundle , bundleType ) ;
535
531
const logKey =
536
532
chalk . white . bold ( filename ) + chalk . dim ( ` (${ bundleType . toLowerCase ( ) } )` ) ;
@@ -766,6 +762,10 @@ async function buildEverything() {
766
762
) ;
767
763
}
768
764
765
+ bundles = bundles . filter ( ( [ bundle , bundleType ] ) => {
766
+ return ! shouldSkipBundle ( bundle , bundleType ) ;
767
+ } ) ;
768
+
769
769
if ( process . env . CIRCLE_NODE_TOTAL ) {
770
770
// In CI, parallelize bundles across multiple tasks.
771
771
const nodeTotal = parseInt ( process . env . CIRCLE_NODE_TOTAL , 10 ) ;
You can’t perform that action at this time.
0 commit comments