Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented May 23, 2025

This PR contains the following updates:

Package Change Age Confidence
@vitejs/plugin-react-swc (source) 3.9.0 -> 3.11.0 age 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' }))

v3.10.2

Compare Source

Suggest @vitejs/plugin-react-oxc if rolldown-vite is detected #​491

Emit a log which recommends @vitejs/plugin-react-oxc when rolldown-vite is detected to improve performance and use Oxc under the hood. The warning can be disabled by setting disableOxcRecommendation: true in the plugin options.

Use optimizeDeps.rollupOptions instead of optimizeDeps.esbuildOptions for rolldown-vite #​489

This suppresses the warning about optimizeDeps.esbuildOptions being deprecated in rolldown-vite.

Add Vite 7-beta to peerDependencies range #​497

React plugins are compatible with Vite 7, this removes the warning when testing the beta.

v3.10.1

Compare Source

Add explicit semicolon in preambleCode #​485

This fixes an edge case when using HTML minifiers that strips line breaks aggressively.

v3.10.0

Compare Source

Add filter for rolldown-vite #​470

Added filter so that it is more performant when running this plugin with rolldown-powered version of Vite.

Skip HMR preamble in Vitest browser mode #​478

This was causing annoying Sourcemap for "/@&#8203;react-refresh" points to missing source files and is unnecessary in test mode.

Skip HMR for JSX files with hooks #​480

This removes the HMR warning for hooks with JSX.


Configuration

📅 Schedule: Branch creation - "every weekend" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the renovate label May 23, 2025
@renovate renovate bot force-pushed the renovate/builder-families branch 3 times, most recently from c29a3c7 to a96b462 Compare May 30, 2025 20:53
@renovate renovate bot changed the title ci: Update dependency @vitejs/plugin-react-swc to v3.10.0 ci: Update dependency @vitejs/plugin-react-swc to v3.10.1 Jun 3, 2025
@renovate renovate bot force-pushed the renovate/builder-families branch 4 times, most recently from fe0a9c5 to c73bc6a Compare June 7, 2025 08:49
@renovate renovate bot changed the title ci: Update dependency @vitejs/plugin-react-swc to v3.10.1 ci: Update dependency @vitejs/plugin-react-swc to v3.10.2 Jun 10, 2025
@renovate renovate bot force-pushed the renovate/builder-families branch 2 times, most recently from 38cb4b7 to b6e3184 Compare June 13, 2025 19:09
@renovate renovate bot force-pushed the renovate/builder-families branch 2 times, most recently from a2d0786 to fcb840b Compare June 29, 2025 12:36
@renovate renovate bot force-pushed the renovate/builder-families branch from fcb840b to e0b7c9d Compare July 18, 2025 03:51
@renovate renovate bot changed the title ci: Update dependency @vitejs/plugin-react-swc to v3.10.2 ci: Update dependency @vitejs/plugin-react-swc to v3.11.0 Jul 18, 2025
@renovate renovate bot force-pushed the renovate/builder-families branch from e0b7c9d to 489f409 Compare August 10, 2025 13:01
@renovate renovate bot force-pushed the renovate/builder-families branch from 489f409 to 58727a0 Compare August 31, 2025 13:06
@renovate renovate bot force-pushed the renovate/builder-families branch from 58727a0 to 34ae02e Compare September 10, 2025 09:31
@renovate renovate bot force-pushed the renovate/builder-families branch from 34ae02e to f71ed28 Compare September 25, 2025 21:38
@renovate renovate bot force-pushed the renovate/builder-families branch from f71ed28 to 5fa6646 Compare October 15, 2025 09:55
@renovate renovate bot changed the title ci: Update dependency @vitejs/plugin-react-swc to v3.11.0 ci: Update Builder families (minor) Oct 15, 2025
@renovate renovate bot force-pushed the renovate/builder-families branch from 5fa6646 to 85eb1f7 Compare October 20, 2025 06:00
@renovate renovate bot changed the title ci: Update Builder families (minor) ci: Update dependency @vitejs/plugin-react-swc to v3.11.0 Oct 21, 2025
@renovate renovate bot force-pushed the renovate/builder-families branch from 85eb1f7 to 165c75d Compare October 21, 2025 05:28
@renovate renovate bot force-pushed the renovate/builder-families branch from 165c75d to 1d166d3 Compare November 10, 2025 19:04
@renovate renovate bot force-pushed the renovate/builder-families branch from 1d166d3 to 9ea422e Compare November 18, 2025 22:53
@renovate renovate bot force-pushed the renovate/builder-families branch from 9ea422e to e92c968 Compare December 3, 2025 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant