Files
NanoKVM-MIRROR/web/vite.config.ts
肆月 761b02ed7e feat(web): upgrade build tooling to Vite 8 (#853)
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).
2026-08-06 14:25:55 +08:00

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
}
});