Skip to content

Commit eb3d3ce

Browse files
authored
[+] bump Vite from 7.3.2 to 8.0.14 (#1421)
1 parent 7d87ec6 commit eb3d3ce

3 files changed

Lines changed: 266 additions & 438 deletions

File tree

internal/webui/package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"@types/react-syntax-highlighter": "^15.5.13",
6969
"@typescript-eslint/eslint-plugin": "^8.54.0",
7070
"@typescript-eslint/parser": "^8.54.0",
71-
"@vitejs/plugin-react": "^5.1.3",
71+
"@vitejs/plugin-react": "^6.0.2",
7272
"cross-env": "^10.1.0",
7373
"eslint": "^9.27.0",
7474
"eslint-config-prettier": "^10.1.0",
@@ -78,13 +78,12 @@
7878
"eslint-plugin-react-hooks": "^7.0.1",
7979
"prettier": "^3.5.0",
8080
"typescript-eslint": "^8.54.0",
81-
"vite": "^7.3.2",
82-
"vite-plugin-svgr": "^4.5.0",
83-
"vite-tsconfig-paths": "^6.0.5"
81+
"vite": "^8.0.14",
82+
"vite-plugin-svgr": "^5.2.0"
8483
},
8584
"packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610",
8685
"engines": {
87-
"node": ">=22.0.0",
86+
"node": ">=22.12.0",
8887
"npm": ">=8.0.0"
8988
}
9089
}

internal/webui/vite.config.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { defineConfig } from 'vite';
22
import react from '@vitejs/plugin-react';
3-
import tsconfigPaths from 'vite-tsconfig-paths';
43
import svgr from 'vite-plugin-svgr';
54

65
const handleGoTemplates = (command: string) => ({
@@ -21,11 +20,13 @@ export default defineConfig(({ command }) => ({
2120
plugins: [
2221
handleGoTemplates(command),
2322
react(),
24-
tsconfigPaths(),
2523
svgr({
2624
include: '**/*.svg',
2725
}),
2826
],
27+
resolve: {
28+
tsconfigPaths: true,
29+
},
2930
base: './',
3031
server: {
3132
port: 4000,

0 commit comments

Comments
 (0)