|
@@ -19,7 +19,6 @@ import { config_compression, config_imagemin } from './scripts/vite-conf';
|
|
|
export default defineConfig(({ mode }) => {
|
|
export default defineConfig(({ mode }) => {
|
|
|
const env = loadEnv(mode, process.cwd());
|
|
const env = loadEnv(mode, process.cwd());
|
|
|
const targetUrl = env.VITE_API_BASE_URL; // 从环境变量中获取
|
|
const targetUrl = env.VITE_API_BASE_URL; // 从环境变量中获取
|
|
|
-
|
|
|
|
|
return {
|
|
return {
|
|
|
/**
|
|
/**
|
|
|
* 项目根目录
|
|
* 项目根目录
|