Skip to content

Commit

Permalink
Add yarn build --unsafe-partial (#17316)
Browse files Browse the repository at this point in the history
* Add yarn build --partial

* unsafe-partial
  • Loading branch information
gaearon authored Nov 8, 2019
1 parent 38dd17a commit 6cb6b1d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/rollup/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,9 @@ function handleRollupError(error) {
}

async function buildEverything() {
await asyncRimRaf('build');
if (!argv['unsafe-partial']) {
await asyncRimRaf('build');
}

// Run them serially for better console output
// and to avoid any potential race conditions.
Expand Down

0 comments on commit 6cb6b1d

Please sign in to comment.