Skip to content

Conversation

@salvador-barboza
Copy link
Collaborator

@salvador-barboza salvador-barboza commented Nov 21, 2025

This updates react-swc's plugin to 4.2.2 for support for vite 7

Copilot AI review requested due to automatic review settings November 21, 2025 17:08
Copilot finished reviewing on behalf of salvador-barboza November 21, 2025 17:10
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades @vitejs/plugin-react-swc from version 3.10.1 to 4.2.2, consolidating React build tooling by removing the redundant @vitejs/plugin-react package that was using Babel. The upgrade brings newer SWC compilation capabilities along with associated dependency updates.

Key changes:

  • Upgrades to @vitejs/plugin-react-swc 4.2.2 with SWC-based compilation
  • Removes @vitejs/plugin-react and associated Babel dependencies to eliminate redundancy
  • Updates transitive dependencies including @swc/core (1.11.29 → 1.15.3) and @rolldown/pluginutils (beta.9 → beta.47)

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
package.json Removed @vitejs/plugin-react and updated @vitejs/plugin-react-swc to 4.2.2
package-lock.json Updated lockfile with new plugin version, removed Babel-related packages, and updated SWC core dependencies and all platform-specific binaries

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@alexagillman
Copy link
Collaborator

Please add PR description

@salvador-barboza salvador-barboza merged commit 2a69354 into main Nov 21, 2025
8 checks passed
@salvador-barboza salvador-barboza deleted the update-prswc branch November 21, 2025 18:42
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.

3 participants