Skip to content

Commit

Permalink
chore: support deno build
Browse files Browse the repository at this point in the history
  • Loading branch information
jack0pan committed Apr 4, 2024
1 parent c1af936 commit 381cb12
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
14 changes: 13 additions & 1 deletion deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions fresh.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@ log.setup({
},
});

kv.listenQueue(async (message: JobMessage) => {
await Job.execute(message);
});
const isBuildMode = Deno.args.includes("build");
if (!isBuildMode) {
kv.listenQueue(async (message: JobMessage) => {
await Job.execute(message);
});
}

export default defineConfig({});

0 comments on commit 381cb12

Please sign in to comment.