fix: env files not loaded in build task (#1743)

This commit is contained in:
Marvin Hagemeister
2023-09-06 13:00:07 +02:00
committed by GitHub
parent 227cefbf50
commit 20d5630534
2 changed files with 82 additions and 0 deletions
+2
View File
@@ -538,6 +538,8 @@ const DEV_TS = `#!/usr/bin/env -S deno run -A --watch=static/,routes/
import dev from "$fresh/dev.ts";
import config from "./fresh.config.ts";
import "$std/dotenv/load.ts";
await dev(import.meta.url, "./main.ts", config);
`;
const DEV_TS_PATH = join(resolvedDirectory, "dev.ts");