echoes/frontend/vite.config.ts
lsy bd619e7519 后端:解耦配置的读取
前端:实现配置文件从环境变量获取
2024-11-11 23:57:35 +08:00

13 lines
237 B
TypeScript

import {defineConfig} from 'vite'
import react from '@vitejs/plugin-react'
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
'@': __dirname,
}
}
})