mirror of
https://github.com/sipeed/NanoKVM.git
synced 2026-09-11 00:22:56 -05:00
Upgrade Vite to 8.2.0 and @vitejs/plugin-react to 6.0.5. Use Vite's native tsconfig path resolver and remove vite-tsconfig-paths. Verified with pnpm build and pnpm lint (existing warnings only).
16 lines
257 B
TypeScript
16 lines
257 B
TypeScript
import react from '@vitejs/plugin-react';
|
|
import { defineConfig } from 'vite';
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
resolve: {
|
|
tsconfigPaths: true
|
|
},
|
|
server: {
|
|
port: 3001
|
|
},
|
|
build: {
|
|
chunkSizeWarningLimit: 1024
|
|
}
|
|
});
|