build(projects): 添加vercel打包的环境

This commit is contained in:
Soybean
2022-01-10 19:24:13 +08:00
parent a090d398fc
commit 371fad4f26
3 changed files with 7 additions and 2 deletions

View File

@ -18,6 +18,8 @@ interface ImportMetaEnv {
readonly VITE_APP_DESC: string;
/** 网路请求环境类型 */
readonly VITE_HTTP_ENV: Service.HttpEnv;
/** 是否是部署vercel */
readonly VITE_IS_VERCEL?: '1';
}
interface ImportMeta {