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 <noreply@anthropic.com>

* fix: simplify CLI bun template, only add mode comments

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
hugocasa
2026-03-05 13:04:38 +01:00
committed by GitHub
parent ce041e8a5e
commit a8cbe9396f
+4 -1
View File
@@ -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";
}
`,