Skip to content

chore(deps): update dependency @vitejs/plugin-react-swc to v4 - #1043

Open
renovate[bot] wants to merge 1 commit into
devfrom
renovate/vitejs-plugin-react-swc-4.x
Open

chore(deps): update dependency @vitejs/plugin-react-swc to v4#1043
renovate[bot] wants to merge 1 commit into
devfrom
renovate/vitejs-plugin-react-swc-4.x

Conversation

@renovate

@renovate renovate Bot commented Aug 7, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@vitejs/plugin-react-swc (source) 3.10.24.3.3 age confidence

Release Notes

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

v4.3.3

Compare Source

Add a patch for bundled-dev mode compat #​1352

Added a patch so that this plugin works with the experimental bundled dev mode. Note that because this Vite feature is experimental, compatibility in future Vite releases is not guaranteed.

v4.3.2

Compare Source

Don't apply React Refresh wrapper for non JSX files #​1226

Fixes #​1225.

v4.3.1

Compare Source

Avoid esbuild warnings with Vite 8 #​1195

Fixes #​1187.

v4.3.0

Compare Source

Add Vite 8 to peerDependencies range #​1142

This plugin is compatible with Vite 8.

v4.2.3

Compare Source

v4.2.2

Compare Source

Update code to support newer rolldown-vite (#​978)

rolldown-vite will remove optimizeDeps.rollupOptions in favor of optimizeDeps.rolldownOptions soon. This plugin now uses optimizeDeps.rolldownOptions to support newer rolldown-vite. Please update rolldown-vite to the latest version if you are using an older version.

v4.2.1

Compare Source

Fix @vitejs/plugin-react-swc/preamble on build (#​962)

v4.2.0

Compare Source

Add @vitejs/plugin-react-swc/preamble virtual module for SSR HMR (#​890)

SSR applications can now initialize HMR runtime by importing @vitejs/plugin-react-swc/preamble at the top of their client entry instead of manually calling transformIndexHtml. This simplifies SSR setup for applications that don't use the transformIndexHtml API.

Use SWC when useAtYourOwnRisk_mutateSwcOptions is provided (#​951)

Previously, this plugin did not use SWC if plugins were not provided even if useAtYourOwnRisk_mutateSwcOptions was provided. This is now fixed.

v4.1.0

Compare Source

Set SWC cacheRoot options

This is set to {viteCacheDir}/swc and override the default of .swc.

Perf: simplify refresh wrapper generation (#​835)

v4.0.1

Compare Source

Set optimizeDeps.rollupOptions.transform.jsx instead of optimizeDeps.rollupOptions.jsx for rolldown-vite (#​735)

optimizeDeps.rollupOptions.jsx is going to be deprecated in favor of optimizeDeps.rollupOptions.transform.jsx.

v4.0.0

Compare Source

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: (UTC)

  • 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 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 dependencies Pull requests that update a dependency file label Aug 7, 2025
@renovate
renovate Bot requested a review from a team as a code owner August 7, 2025 13:15
@renovate renovate Bot added deps: javascript dependencies Pull requests that update a dependency file labels Aug 7, 2025
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-4.x branch from ee6fb68 to 2edff67 Compare August 19, 2025 05:48
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-4.x branch from 2edff67 to 2633474 Compare August 30, 2025 09:55
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-4.x branch 2 times, most recently from 77e9ed3 to 59c9dfa Compare September 17, 2025 08:23
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-4.x branch from 59c9dfa to ef14ca3 Compare September 25, 2025 16:51
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-4.x branch from ef14ca3 to 2ab658f Compare October 15, 2025 07:27
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-4.x branch 2 times, most recently from c95842e to b139a78 Compare October 31, 2025 03:55
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-4.x branch 3 times, most recently from 2fe6610 to 3bcea17 Compare November 12, 2025 09:56
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-4.x branch 2 times, most recently from 1fc7153 to 6d3f92e Compare November 19, 2025 07:12
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-4.x branch from 6d3f92e to 5344d6b Compare December 3, 2025 18:37
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-4.x branch 2 times, most recently from b85ded2 to f15b63d Compare January 5, 2026 08:20
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-4.x branch 2 times, most recently from 5b9a153 to bbdeaa8 Compare January 19, 2026 16:18
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-4.x branch from bbdeaa8 to 5d3294c Compare January 23, 2026 20:14
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-4.x branch 2 times, most recently from a88bef9 to 64c938f Compare February 3, 2026 07:40
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-4.x branch from 64c938f to f69a67b Compare February 12, 2026 15:10
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-4.x branch 3 times, most recently from 4081434 to 6d7499d Compare March 1, 2026 10:56
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-4.x branch from 6d7499d to c93e75c Compare March 15, 2026 02:46
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-4.x branch 2 times, most recently from bbc8589 to d24020d Compare March 26, 2026 05:44
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-4.x branch 8 times, most recently from afc3db0 to cad5535 Compare April 4, 2026 18:26
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-4.x branch 2 times, most recently from 0869064 to 2399eb1 Compare April 11, 2026 13:53
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-4.x branch 5 times, most recently from a10945f to 8e11ddd Compare April 18, 2026 12:58
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-4.x branch 2 times, most recently from db44f59 to b29e555 Compare April 28, 2026 01:43
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-4.x branch 2 times, most recently from 6da81e6 to 925aabe Compare May 14, 2026 21:00
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-4.x branch from 925aabe to 97bfcf1 Compare May 28, 2026 16:37
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-4.x branch from 97bfcf1 to ca8c7a1 Compare June 11, 2026 15:58
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-4.x branch from ca8c7a1 to d11192e Compare June 26, 2026 05:02
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-4.x branch from d11192e to 4f8f628 Compare July 3, 2026 05:40
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-4.x branch 2 times, most recently from e008848 to 13530a9 Compare July 22, 2026 06:38
@renovate
renovate Bot force-pushed the renovate/vitejs-plugin-react-swc-4.x branch from 13530a9 to 8c99b54 Compare July 30, 2026 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file deps: javascript

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants