chore: 规范化常量配置

This commit is contained in:
wangxuefeng
2025-03-05 18:30:41 +08:00
parent 261dd5bb67
commit eecc2b1893
13 changed files with 34 additions and 13 deletions

View File

@@ -7,7 +7,7 @@ import path from "path";
// @ts-ignore
export default defineConfig(({ mode }) => {
console.log("mode", mode);
const env = loadEnv(mode, process.cwd(), ["VITE_"]);
const env = loadEnv(mode, process.cwd(), ["VITE_", "Y_CODE_"]);
return {
server: {