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) {
527527}
528528
529529async function createBundle ( bundle , bundleType ) {
530- if ( shouldSkipBundle ( bundle , bundleType ) ) {
531- return ;
532- }
533-
534530 const filename = getFilename ( bundle , bundleType ) ;
535531 const logKey =
536532 chalk . white . bold ( filename ) + chalk . dim ( ` (${ bundleType . toLowerCase ( ) } )` ) ;
@@ -766,6 +762,10 @@ async function buildEverything() {
766762 ) ;
767763 }
768764
765+ bundles = bundles . filter ( ( [ bundle , bundleType ] ) => {
766+ return ! shouldSkipBundle ( bundle , bundleType ) ;
767+ } ) ;
768+
769769 if ( process . env . CIRCLE_NODE_TOTAL ) {
770770 // In CI, parallelize bundles across multiple tasks.
771771 const nodeTotal = parseInt ( process . env . CIRCLE_NODE_TOTAL , 10 ) ;
You can’t perform that action at this time.
0 commit comments