fix: Downgrade Vite to v5 for Node.js 21 compatibility
Downgraded Vite from v8 to v5 and @vitejs/plugin-react from v6 to v4 to resolve compatibility issues with Node.js 21.7.3. Fixed TypeScript type-only imports to comply with verbatimModuleSyntax. Fixes #1 Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -22,13 +22,13 @@
|
||||
"@types/node": "^24.12.2",
|
||||
"@types/react": "^19.2.14",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"@vitejs/plugin-react": "^6.0.1",
|
||||
"@vitejs/plugin-react": "^4.7.0",
|
||||
"eslint": "^9.39.4",
|
||||
"eslint-plugin-react-hooks": "^7.0.1",
|
||||
"eslint-plugin-react-refresh": "^0.5.2",
|
||||
"globals": "^17.4.0",
|
||||
"typescript": "~6.0.2",
|
||||
"typescript-eslint": "^8.58.0",
|
||||
"vite": "^8.0.4"
|
||||
"vite": "^5.4.21"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user