We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc25688 commit 500b69bCopy full SHA for 500b69b
vite.config.ts
@@ -4,7 +4,7 @@ import path from "node:path";
4
5
// https://vitejs.dev/config/
6
export default defineConfig(({mode}) => {
7
- const env = loadEnv(mode, false);
+ const env = loadEnv(mode, "./");
8
console.log("env:", env);
9
console.log("GITHUB:", env.VITE_IS_GITHUB);
10
0 commit comments