add external config to codebase

This commit is contained in:
Ruben Fiszel
2024-08-09 08:50:54 +02:00
parent 70d1e6c720
commit 7349d0a320
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -33,6 +33,7 @@ export interface Codebase {
to: string;
}[];
customBundler?: string;
external?: string[];
}
export async function readConfigFile(): Promise<SyncOptions> {
+1
View File
@@ -172,6 +172,7 @@ export async function handleFile(
format: "cjs",
bundle: true,
write: false,
external: codebase.external,
platform: "node",
packages: "bundle",
target: "node20.15.1",