Skip to content

chore: update @vitejs/plugin-react to 6.0.0#1002

Merged
juliusmarminge merged 4 commits intopingdotgg:mainfrom
Noojuno:update-vite-plugin-react
Mar 13, 2026
Merged

chore: update @vitejs/plugin-react to 6.0.0#1002
juliusmarminge merged 4 commits intopingdotgg:mainfrom
Noojuno:update-vite-plugin-react

Conversation

@Noojuno
Copy link
Contributor

@Noojuno Noojuno commented Mar 13, 2026

REQUIRES #999 (stacked on top but unable to actually target it with a PR in this repo, so we're targeting main)

What Changed

Updates @vitejs/plugin-react to 6.0.0 with the Vite 8 release.

I had to specifically configure the ts and jsx parsers in babel options due to some quirks with how the babel parser was working by default with our packages/ directory.

Why

Aiming to try help keep the packages up to date here.

This isn't a required change as the old plugin still supports Vite 8 so we could definitely shelve it for now, but I was updating other stuff so I wanted to raise this too.

Checklist

  • This PR is small and focused
  • I explained what changed and why

Note

Update @vitejs/plugin-react to 6.0.0 and migrate Babel config to @rolldown/plugin-babel

  • Bumps @vitejs/plugin-react from ^5.1.4 to ^6.0.0 and vite from ^8.0.0-beta.12 to ^8.0.0 in both apps/web/package.json and the root package.json.
  • Moves React Compiler Babel config out of the react() plugin and into a standalone babel() call (via @rolldown/plugin-babel) in vite.config.ts, with explicit TypeScript and JSX parser options.
  • Switches the package.json import in vite.config.ts from a named version export to a default pkg import; APP_VERSION is now sourced via pkg.version.

Macroscope summarized 275387c.

@coderabbitai
Copy link

coderabbitai bot commented Mar 13, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 239a71e6-6fde-4dc5-921f-779d74136cec

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions bot added size:L 100-499 changed lines (additions + deletions). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Mar 13, 2026
@rolldown/plugin-babel imports types from @babel/core, which doesn't
ship its own types. Without @types/babel__core in the lockfile, CI's
frozen install skipped it, causing Pick<any, K> to produce required
fields in PluginOptions.
@juliusmarminge
Copy link
Member

juliusmarminge commented Mar 13, 2026

we can close #999 right? this has the commits from that PR already?

@juliusmarminge juliusmarminge merged commit ae4ae99 into pingdotgg:main Mar 13, 2026
8 of 9 checks passed
@Noojuno
Copy link
Contributor Author

Noojuno commented Mar 13, 2026

we can close #999 right? this has the commits from that PR already?

@juliusmarminge yeah, they were stacked but because I'm working on a fork I'm not allowed to stack for real 🙃

@Noojuno Noojuno deleted the update-vite-plugin-react branch March 13, 2026 02:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L 100-499 changed lines (additions + deletions). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants