Skip to content

Commit 1126c09

Browse files
committed
exportstart
1 parent d3a65a3 commit 1126c09

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cli/build.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@ export async function build(args: string[]) {
114114
if (config.buildOptions.args) {
115115
command += " " + config.buildOptions.args.join(" ");
116116
}
117+
if (["node","deno","bun"].includes(config.runOptions.runtime.run.split(" ")[0])) {
118+
command += " --exportStart"
119+
}
117120
buildCommands.push(command);
118121
}
119122

0 commit comments

Comments
 (0)