mirror of
https://github.com/sipeed/NanoKVM.git
synced 2026-09-11 00:22:56 -05:00
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).
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
"@types/websocket": "^1.0.10",
|
||||
"@typescript-eslint/eslint-plugin": "^8.59.0",
|
||||
"@typescript-eslint/parser": "^8.59.0",
|
||||
"@vitejs/plugin-react": "^4.7.0",
|
||||
"@vitejs/plugin-react": "^6.0.5",
|
||||
"autoprefixer": "^10.4.27",
|
||||
"eslint": "^9.39.4",
|
||||
"eslint-config-prettier": "^9.1.2",
|
||||
@@ -71,8 +71,7 @@
|
||||
"tailwindcss": "^3.4.19",
|
||||
"typescript": "^5.9.3",
|
||||
"typescript-eslint": "^8.59.0",
|
||||
"vite": "7.3.2",
|
||||
"vite-tsconfig-paths": "^4.3.2",
|
||||
"vite": "8.2.0",
|
||||
"yaml": "^2.8.3"
|
||||
},
|
||||
"msw": {
|
||||
|
||||
883
web/pnpm-lock.yaml
generated
883
web/pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -1,9 +1,11 @@
|
||||
import react from '@vitejs/plugin-react';
|
||||
import { defineConfig } from 'vite';
|
||||
import viteTsconfigPaths from 'vite-tsconfig-paths';
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react(), viteTsconfigPaths()],
|
||||
plugins: [react()],
|
||||
resolve: {
|
||||
tsconfigPaths: true
|
||||
},
|
||||
server: {
|
||||
port: 3001
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user