bunup 0.15.8 → 0.15.9
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
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
build,
|
|
5
5
|
processLoadedConfigs,
|
|
6
6
|
resolveBuildOptions
|
|
7
|
-
} from "../shared/bunup-
|
|
7
|
+
} from "../shared/bunup-jcxzbsay.js";
|
|
8
8
|
import {
|
|
9
9
|
BunupBuildError,
|
|
10
10
|
BunupCLIError,
|
|
@@ -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.15.
|
|
30
|
+
var version = "0.15.9";
|
|
31
31
|
|
|
32
32
|
// packages/bunup/src/printer/print-build-report.ts
|
|
33
33
|
import { promisify } from "util";
|
package/dist/index.js
CHANGED
|
@@ -286,7 +286,7 @@ function getResolvedCompile(entry, compile, format) {
|
|
|
286
286
|
const compileObj = typeof compile === "object" ? compile : {};
|
|
287
287
|
const target = typeof compile === "string" ? compile : compileObj.target;
|
|
288
288
|
if (entry.length > 1) {
|
|
289
|
-
throw new BunupBuildError("Can only compile one entrypoint at a time. If you want to compile multiple entries, use build config array. Check https://bunup.dev/docs/advanced/compile#multiple-
|
|
289
|
+
throw new BunupBuildError("Can only compile one entrypoint at a time. If you want to compile multiple entries, use build config array. Check https://bunup.dev/docs/advanced/compile#multiple-entrypoints for more information.");
|
|
290
290
|
} else {
|
|
291
291
|
resolvedEntry = entry[0];
|
|
292
292
|
}
|
|
@@ -297,7 +297,7 @@ function getResolvedCompile(entry, compile, format) {
|
|
|
297
297
|
if (format !== "esm") {
|
|
298
298
|
name.push(`-${format}`);
|
|
299
299
|
}
|
|
300
|
-
if (target) {
|
|
300
|
+
if (target && !compileObj.outfile) {
|
|
301
301
|
name.push(`-${target.replace("bun-", "")}`);
|
|
302
302
|
}
|
|
303
303
|
return {
|