We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a56f7cb commit 148a2fbCopy full SHA for 148a2fb
.env.development
@@ -1,4 +1 @@
1
-VITE_ENV = development
2
-
3
-# 是否开启标签页缓存 在开发模式下建议关闭 否则会影响热更新
4
-VITE_KEY_ALIVE = FALSE
+VITE_ENV = development
.env.production
-VITE_ENV = production
-# 是否开启标签页缓存
-VITE_KEY_ALIVE = TRUE
+VITE_ENV = production
.env.staging
VITE_ENV = staging
types/env.d.ts
@@ -2,7 +2,6 @@
declare interface ViteEnv {
readonly VITE_ENV: string;
5
- readonly VITE_KEY_ALIVE: 'TRUE' | 'FALSE';
6
}
7
8
interface ImportMetaEnv extends ViteEnv {
0 commit comments