diff options
Diffstat (limited to 'bin/build.ts')
-rwxr-xr-x | bin/build.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/build.ts b/bin/build.ts index bd030a1..69cfd6c 100755 --- a/bin/build.ts +++ b/bin/build.ts @@ -4,7 +4,7 @@ import log from "loglevel"; import generateSite from "../src/templates"; -log.setLevel((import.meta.env.LOG_LEVEL || "info") as log.LogLevelDesc); +log.setLevel((import.meta.env["LOG_LEVEL"] || "info") as log.LogLevelDesc); fs.mkdirSync("public", { recursive: true }); log.info("Generating site..."); |