Update dependency @vitejs/plugin-react-swc to v3.11.0 #10

Open
renovate-bot wants to merge 1 commit from renovate/vitejs-plugin-react-swc-3.x into main
Collaborator

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@vitejs/plugin-react-swc (source) 3.10.23.11.0 age adoption passing confidence

Release Notes

vitejs/vite-plugin-react (@​vitejs/plugin-react-swc)

v3.11.0

Compare Source

Add HMR support for compound components (#​518)

HMR now works for compound components like this:

const Root = () => <div>Accordion Root</div>
const Item = () => <div>Accordion Item</div>

export const Accordion = { Root, Item }
Return Plugin[] instead of PluginOption[] (#​537)

The return type has changed from react(): PluginOption[] to more specialized type react(): Plugin[]. This allows for type-safe manipulation of plugins, for example:

// previously this causes type errors
react()
  .map(p => ({ ...p, applyToEnvironment: e => e.name === 'client' }))

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Adoption](https://docs.renovatebot.com/merge-confidence/) | [Passing](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---|---|---| | [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react-swc#readme) ([source](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react-swc)) | [`3.10.2` → `3.11.0`](https://renovatebot.com/diffs/npm/@vitejs%2fplugin-react-swc/3.10.2/3.11.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@vitejs%2fplugin-react-swc/3.11.0?slim=true) | ![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitejs%2fplugin-react-swc/3.11.0?slim=true) | ![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitejs%2fplugin-react-swc/3.10.2/3.11.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitejs%2fplugin-react-swc/3.10.2/3.11.0?slim=true) | --- ### Release Notes <details> <summary>vitejs/vite-plugin-react (@&#8203;vitejs/plugin-react-swc)</summary> ### [`v3.11.0`](https://github.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react-swc/CHANGELOG.md#3110-2025-07-18) [Compare Source](https://github.com/vitejs/vite-plugin-react/compare/32d49ecf9b15e3070c7abe5a176252a3fe542e5c...9e0c1038959e828865be810a164a51c3db1ac375) ##### Add HMR support for compound components ([#&#8203;518](https://github.com/vitejs/vite-plugin-react/pull/518)) HMR now works for compound components like this: ```tsx const Root = () => <div>Accordion Root</div> const Item = () => <div>Accordion Item</div> export const Accordion = { Root, Item } ``` ##### Return `Plugin[]` instead of `PluginOption[]` ([#&#8203;537](https://github.com/vitejs/vite-plugin-react/pull/537)) The return type has changed from `react(): PluginOption[]` to more specialized type `react(): Plugin[]`. This allows for type-safe manipulation of plugins, for example: ```tsx // previously this causes type errors react() .map(p => ({ ...p, applyToEnvironment: e => e.name === 'client' })) ``` </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS44Mi4xIiwidXBkYXRlZEluVmVyIjoiNDIuNjQuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZnJvbnRlbmQiLCJyZW5vdmF0ZSJdfQ==-->
renovate-bot changed title from Update dependency @vitejs/plugin-react-swc to ^3.11.0 to Update dependency @vitejs/plugin-react-swc to v3.11.0 2025-08-21 00:10:42 +01:00
renovate-bot force-pushed renovate/vitejs-plugin-react-swc-3.x from 6527a67a8e to c91e200c6f 2025-08-21 00:10:43 +01:00 Compare
renovate-bot force-pushed renovate/vitejs-plugin-react-swc-3.x from c91e200c6f to 310e35ebd4 2025-08-21 06:01:30 +01:00 Compare
renovate-bot force-pushed renovate/vitejs-plugin-react-swc-3.x from 310e35ebd4 to e4d8594892 2025-10-20 23:08:45 +01:00 Compare
renovate-bot force-pushed renovate/vitejs-plugin-react-swc-3.x from e4d8594892 to 41080de7c0 2025-11-19 20:26:59 +00:00 Compare
renovate-bot force-pushed renovate/vitejs-plugin-react-swc-3.x from 41080de7c0 to 5d9e66b234 2025-12-22 19:17:04 +00:00 Compare
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/vitejs-plugin-react-swc-3.x:renovate/vitejs-plugin-react-swc-3.x
git switch renovate/vitejs-plugin-react-swc-3.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff renovate/vitejs-plugin-react-swc-3.x
git switch renovate/vitejs-plugin-react-swc-3.x
git rebase main
git switch main
git merge --ff-only renovate/vitejs-plugin-react-swc-3.x
git switch renovate/vitejs-plugin-react-swc-3.x
git rebase main
git switch main
git merge --no-ff renovate/vitejs-plugin-react-swc-3.x
git switch main
git merge --squash renovate/vitejs-plugin-react-swc-3.x
git switch main
git merge --ff-only renovate/vitejs-plugin-react-swc-3.x
git switch main
git merge renovate/vitejs-plugin-react-swc-3.x
git push origin main
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MobiusReactor/TicTacToeV2!10
No description provided.