diff --git a/server/scripts/bundle-runtime.mjs b/server/scripts/bundle-runtime.mjs index 09a25fe7a72..f3311e90a14 100644 --- a/server/scripts/bundle-runtime.mjs +++ b/server/scripts/bundle-runtime.mjs @@ -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({