mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-27 00:02:35 +00:00
add external config to codebase
This commit is contained in:
@@ -33,6 +33,7 @@ export interface Codebase {
|
||||
to: string;
|
||||
}[];
|
||||
customBundler?: string;
|
||||
external?: string[];
|
||||
}
|
||||
|
||||
export async function readConfigFile(): Promise<SyncOptions> {
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user