Skip to content

fix(dashboard): upgrade @vitejs/plugin-react to v6 for Vite 8 compati…#136

Open
Al-win-Joby wants to merge 1 commit into
rmyndharis:mainfrom
Al-win-Joby:staging
Open

fix(dashboard): upgrade @vitejs/plugin-react to v6 for Vite 8 compati…#136
Al-win-Joby wants to merge 1 commit into
rmyndharis:mainfrom
Al-win-Joby:staging

Conversation

@Al-win-Joby
Copy link
Copy Markdown

Description

@vitejs/plugin-react v5.x declares a peer dependency of vite <8, which caused an ERESOLVE
error during npm ci in the Docker build after vite was bumped to 8.0.13 by Dependabot.
Upgraded @vitejs/plugin-react from ^5.1.4 to ^6.0.0 (resolves to 6.0.2) which drops
the Babel-based JSX transform in favour of rolldown and correctly peers with vite ^8.0.0.
Updated package-lock.json accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant