Skip to content

Commit 500b69b

Browse files
committed
Make vite config use ./ as the env location
1 parent fc25688 commit 500b69b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import path from "node:path";
44

55
// https://vitejs.dev/config/
66
export default defineConfig(({mode}) => {
7-
const env = loadEnv(mode, false);
7+
const env = loadEnv(mode, "./");
88
console.log("env:", env);
99
console.log("GITHUB:", env.VITE_IS_GITHUB);
1010

0 commit comments

Comments
 (0)