bunup 0.16.13 → 0.16.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/index.js +5 -5
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
import { loadConfig } from "coffi";
|
|
28
28
|
import pc4 from "picocolors";
|
|
29
29
|
// packages/bunup/package.json
|
|
30
|
-
var version = "0.16.
|
|
30
|
+
var version = "0.16.14";
|
|
31
31
|
|
|
32
32
|
// packages/bunup/src/printer/print-build-report.ts
|
|
33
33
|
import { promisify } from "util";
|
|
@@ -349,9 +349,9 @@ async function main(args = Bun.argv.slice(2)) {
|
|
|
349
349
|
logger.info("Build started");
|
|
350
350
|
const startTime = performance.now();
|
|
351
351
|
const buildResults = [];
|
|
352
|
-
|
|
352
|
+
for (const { options, rootDir } of configsToProcess) {
|
|
353
353
|
const optionsArray = ensureArray(options);
|
|
354
|
-
|
|
354
|
+
await Promise.all(optionsArray.map(async (o) => {
|
|
355
355
|
const userOptions = {
|
|
356
356
|
...o,
|
|
357
357
|
...removeCliOnlyOptions(cliOptions)
|
|
@@ -361,8 +361,8 @@ async function main(args = Bun.argv.slice(2)) {
|
|
|
361
361
|
} else {
|
|
362
362
|
buildResults.push(await build(userOptions, rootDir));
|
|
363
363
|
}
|
|
364
|
-
});
|
|
365
|
-
}
|
|
364
|
+
}));
|
|
365
|
+
}
|
|
366
366
|
const buildTimeMs = performance.now() - startTime;
|
|
367
367
|
if (!cliOptions.watch && !shouldSilent) {
|
|
368
368
|
await Promise.all(buildResults.map((o) => printBuildReport(o)));
|