mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-08 11:23:40 +01:00
fix(build): keep maintenance bundle entries optional for typed callers
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
016e069cb2
commit
3e8be15f23
1 file changed
+2
@@ -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({
|
||||
|
||||
Reference in new issue
Block a user