This commit is contained in:
2026-05-14 19:55:53 +08:00
parent c764603dbd
commit 8a16b01e9e
55 changed files with 5754 additions and 5277 deletions
+3
View File
@@ -4,6 +4,9 @@ import react from '@vitejs/plugin-react';
// https://vitejs.dev/config/
export default defineConfig(({ command }) => ({
plugins: [react()],
define: {
'process.env': {},
},
resolve: {
// new URL is pure ESM — no __dirname needed, no @types/node required
alias: { '@': new URL('./src', import.meta.url).pathname },