Skip to content

Commit

Permalink
exportstart
Browse files Browse the repository at this point in the history
  • Loading branch information
JairusSW committed Jul 9, 2024
1 parent d3a65a3 commit 1126c09
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cli/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ export async function build(args: string[]) {
if (config.buildOptions.args) {
command += " " + config.buildOptions.args.join(" ");
}
if (["node","deno","bun"].includes(config.runOptions.runtime.run.split(" ")[0])) {
command += " --exportStart"
}
buildCommands.push(command);
}

Expand Down

0 comments on commit 1126c09

Please sign in to comment.