We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e82380b + fe9bf46 commit 6f1f172Copy full SHA for 6f1f172
scripts/rollup/build.js
@@ -813,7 +813,7 @@ function handleRollupError(error) {
813
}
814
815
816
-async function buildEverything(index, total) {
+async function buildEverything() {
817
if (!argv['unsafe-partial']) {
818
await asyncRimRaf('build');
819
@@ -850,7 +850,7 @@ async function buildEverything(index, total) {
850
return !shouldSkipBundle(bundle, bundleType);
851
});
852
853
- if (process.env.CI_TOTAL != null && process.env.CI_INDEX != null) {
+ if (process.env.CI_TOTAL && process.env.CI_INDEX) {
854
const nodeTotal = parseInt(process.env.CI_TOTAL, 10);
855
const nodeIndex = parseInt(process.env.CI_INDEX, 10);
856
bundles = bundles.filter((_, i) => i % nodeTotal === nodeIndex);
0 commit comments