From a8cbe9396ffc51140dce5582d57f4dc59873304e Mon Sep 17 00:00:00 2001 From: hugocasa Date: Thu, 5 Mar 2026 13:04:38 +0100 Subject: [PATCH] fix: update CLI bun template to match UI template (#8238) * fix: update CLI bun template to match UI template Co-Authored-By: Claude Opus 4.6 * fix: simplify CLI bun template, only add mode comments Co-Authored-By: Claude Opus 4.6 --------- Co-authored-by: Claude Opus 4.6 --- cli/bootstrap/script_bootstrap.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cli/bootstrap/script_bootstrap.ts b/cli/bootstrap/script_bootstrap.ts index 5335e1741c..89d98a1927 100644 --- a/cli/bootstrap/script_bootstrap.ts +++ b/cli/bootstrap/script_bootstrap.ts @@ -39,7 +39,10 @@ export const scriptBootstrapCode = { } `, - bun: `export async function main() { + bun: `// there are multiple modes to add as header: //nobundling //native //npm //nodejs +// https://www.windmill.dev/docs/getting_started/scripts_quickstart/typescript#modes + +export async function main() { return "Hello world"; } `,