mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-18 16:02:10 +00:00
fix(cli): add inject and define options
This commit is contained in:
@@ -34,6 +34,8 @@ export interface Codebase {
|
||||
}[];
|
||||
customBundler?: string;
|
||||
external?: string[];
|
||||
define?: { [key: string]: string };
|
||||
inject?: string[];
|
||||
}
|
||||
|
||||
export async function readConfigFile(): Promise<SyncOptions> {
|
||||
|
||||
@@ -173,6 +173,8 @@ export async function handleFile(
|
||||
bundle: true,
|
||||
write: false,
|
||||
external: codebase.external,
|
||||
inject: codebase.inject,
|
||||
define: codebase.define,
|
||||
platform: "node",
|
||||
packages: "bundle",
|
||||
target: "node20.15.1",
|
||||
|
||||
Reference in New Issue
Block a user