chore: dependencies
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user