Skip to content

Commit f55697e

Browse files
authored
fix(build): Build bundles in parallel (#4678)
This parallelizes our top-level `build:bundle` yarn script, in order to make it run faster. Because so much of the total time is spent on one package (`@sentry/integrations`, which currently produces 24 bundles to every other package's max 4 bundles), the time savings isn't earth-shattering, but it does run 20-30% faster in my informal tests.
1 parent f715e87 commit f55697e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"private": true,
33
"scripts": {
44
"build": "node ./scripts/verify-packages-versions.js && lerna run --stream --concurrency 1 --sort build",
5-
"build:bundle": "lerna run --stream --concurrency 1 --sort build:bundle",
5+
"build:bundle": "lerna run --parallel build:bundle",
66
"build:cjs": "lerna run --stream --concurrency 1 --sort build:cjs",
77
"build:dev": "lerna run --stream --concurrency 1 --sort build:dev",
88
"build:dev:filter": "lerna run --stream --concurrency 1 --sort build:dev --include-filtered-dependencies --include-filtered-dependents --scope",

0 commit comments

Comments
 (0)