Skip to content

Commit

Permalink
fix(deno): support environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Jun 16, 2023
1 parent c24e1f8 commit 88b4e11
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/presets/deno.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ export const deno = defineNitroPreset({
deploy:
"cd ./ && deployctl deploy --project=<project_name> server/index.ts",
},
unenv: {
polyfill: ["#internal/nitro/polyfill/deno-env"],
},
rollupConfig: {
preserveEntrySignatures: false,
external: ["https://deno.land/std/http/server.ts"],
Expand Down

0 comments on commit 88b4e11

Please sign in to comment.