Skip to content

Commit 9db6d8d

Browse files
Copilothotlong
andcommitted
fix(studio): downgrade @vitejs/plugin-react to ^5.2.0 for Vite 7 compatibility
@vitejs/plugin-react v6 requires Vite 8+ and fails with ERR_PACKAGE_PATH_NOT_EXPORTED when paired with Vite 7. v5.2.0 explicitly supports Vite 4–8. Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 1675330 commit 9db6d8d

2 files changed

Lines changed: 243 additions & 18 deletions

File tree

apps/studio/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"@tailwindcss/postcss": "^4.2.1",
5555
"@types/react": "^19.2.14",
5656
"@types/react-dom": "^19.2.3",
57-
"@vitejs/plugin-react": "^6.0.1",
57+
"@vitejs/plugin-react": "^5.2.0",
5858
"autoprefixer": "^10.4.27",
5959
"happy-dom": "^20.8.4",
6060
"hono": "^4.12.8",

0 commit comments

Comments
 (0)