chore: dependencies

This commit is contained in:
2025-08-05 14:24:33 +08:00
parent ed962166b1
commit fd7cc38f25
6 changed files with 170 additions and 60 deletions

View File

@@ -2,6 +2,7 @@ import type { ProxyOptions } from 'vite';
import { tanstackRouter } from '@tanstack/router-plugin/vite';
import react from '@vitejs/plugin-react';
import { fileURLToPath, URL } from 'node:url';
import { defineConfig } from 'vite';
const apiProxyList: [string, string][] = [
@@ -33,6 +34,11 @@ export default defineConfig((/* { command, mode } */) => {
}),
react(),
],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url)),
},
},
server: {
port: 9763,
proxy: viteProxy,