Skip to content

Commit

Permalink
fix: skip typechecking on sub-builds (#637)
Browse files Browse the repository at this point in the history
  • Loading branch information
Timer authored Jan 6, 2021
1 parent 7ed8610 commit e2910fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,8 @@ function ncc (
existingAssetNames,
quiet,
debugLog,
transpileOnly,
// don't re-run type checking on a sub-build, as it is a waste of CPU
transpileOnly: true,
license,
target
});
Expand Down

0 comments on commit e2910fb

Please sign in to comment.