bunup 0.16.24 → 0.16.26
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-0g3ae56f.js";
|
|
8
8
|
import {
|
|
9
9
|
BunupBuildError,
|
|
10
10
|
BunupCLIError,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
import { loadConfig } from "coffi";
|
|
27
27
|
import pc4 from "picocolors";
|
|
28
28
|
// packages/bunup/package.json
|
|
29
|
-
var version = "0.16.
|
|
29
|
+
var version = "0.16.26";
|
|
30
30
|
|
|
31
31
|
// packages/bunup/src/printer/print-build-report.ts
|
|
32
32
|
import { promisify } from "util";
|
package/dist/index.js
CHANGED
|
@@ -591,7 +591,7 @@ async function build(userOptions, rootDir = process.cwd()) {
|
|
|
591
591
|
try {
|
|
592
592
|
const { entry, splitting, resolve: userDtsResolve, ...dtsOptions } = typeof options.dts === "object" ? options.dts : {};
|
|
593
593
|
const bundledDeps = getBundledDepsForDtsResolve(options, packageJson.data);
|
|
594
|
-
const dtsResolve = !bundledDeps?.length ? userDtsResolve : userDtsResolve === true ? true : [...bundledDeps, ...Array.isArray(userDtsResolve) ? userDtsResolve : []];
|
|
594
|
+
const dtsResolve = userDtsResolve === false ? false : !bundledDeps?.length ? userDtsResolve : userDtsResolve === true ? true : [...bundledDeps, ...Array.isArray(userDtsResolve) ? userDtsResolve : []];
|
|
595
595
|
const dtsResult = await generateDts(ensureArray(entry ?? entrypoints), {
|
|
596
596
|
cwd: rootDir,
|
|
597
597
|
preferredTsconfig: options.preferredTsconfig,
|