fix(build): keep maintenance bundle entries optional for typed callers

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
DottaandPaperclip committed 2026-11-04 22:19:11 -06:00
1 parent 016e069cb2
commit 3e8be15f23
1 file changed
+2
+2
View File
@@ -71,6 +71,8 @@ function externalizeThirdParty(isBundled, runtimeDir) {
};
}
/** @param {{ entry: string, outdir: string, maintenanceEntry?: string, ephemeralMigrationEntry?: string,
* nativeHarnessPrestageEntry?: string, isBundled?: (specifier: string) => boolean }} options */
export async function bundleRuntime({ entry, outdir, maintenanceEntry, ephemeralMigrationEntry, nativeHarnessPrestageEntry, isBundled = (specifier) => specifier.startsWith("@paperclipai/") }) {
await rm(outdir, { recursive: true, force: true });
const result = await build({