Skip to content

Commit b8d39ac

Browse files
fix(cli): add dotenv in server env (#762)
1 parent 01e823f commit b8d39ac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/cli/templates/packages/env/src/server.ts.hbs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// Types are defined in env.d.ts based on your alchemy.run.ts bindings
55
export { env } from "cloudflare:workers";
66
{{else}}
7+
import "dotenv/config";
78
import { createEnv } from "@t3-oss/env-core";
89
import { z } from "zod";
910

0 commit comments

Comments
 (0)