build(deps-dev): bump @vitejs/plugin-react-swc from 3.10.2 to 3.11.0 #109

Closed
opened 2026-04-05 19:47:01 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @dependabot[bot] on 7/21/2025

Bumps @vitejs/plugin-react-swc from 3.10.2 to 3.11.0.

Release notes

Sourced from @​vitejs/plugin-react-swc's releases.

plugin-react-swc@3.11.0

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' }))
Changelog

Sourced from @​vitejs/plugin-react-swc's changelog.

3.11.0 (2025-07-18)

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' }))
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
*Originally created by @dependabot[bot] on 7/21/2025* Bumps [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react-swc) from 3.10.2 to 3.11.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/vitejs/vite-plugin-react/releases"><code>@​vitejs/plugin-react-swc</code>'s releases</a>.</em></p> <blockquote> <h2>plugin-react-swc@3.11.0</h2> <h3>Add HMR support for compound components (<a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/518">#518</a>)</h3> <p>HMR now works for compound components like this:</p> <pre lang="tsx"><code>const Root = () =&gt; &lt;div&gt;Accordion Root&lt;/div&gt; const Item = () =&gt; &lt;div&gt;Accordion Item&lt;/div&gt; <p>export const Accordion = { Root, Item } </code></pre></p> <h3>Return <code>Plugin[]</code> instead of <code>PluginOption[]</code> (<a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/537">#537</a>)</h3> <p>The return type has changed from <code>react(): PluginOption[]</code> to more specialized type <code>react(): Plugin[]</code>. This allows for type-safe manipulation of plugins, for example:</p> <pre lang="tsx"><code>// previously this causes type errors react() .map(p =&gt; ({ ...p, applyToEnvironment: e =&gt; e.name === 'client' })) </code></pre> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc/CHANGELOG.md"><code>@​vitejs/plugin-react-swc</code>'s changelog</a>.</em></p> <blockquote> <h2>3.11.0 (2025-07-18)</h2> <h3>Add HMR support for compound components (<a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/518">#518</a>)</h3> <p>HMR now works for compound components like this:</p> <pre lang="tsx"><code>const Root = () =&gt; &lt;div&gt;Accordion Root&lt;/div&gt; const Item = () =&gt; &lt;div&gt;Accordion Item&lt;/div&gt; <p>export const Accordion = { Root, Item } </code></pre></p> <h3>Return <code>Plugin[]</code> instead of <code>PluginOption[]</code> (<a href="https://redirect.github.com/vitejs/vite-plugin-react/pull/537">#537</a>)</h3> <p>The return type has changed from <code>react(): PluginOption[]</code> to more specialized type <code>react(): Plugin[]</code>. This allows for type-safe manipulation of plugins, for example:</p> <pre lang="tsx"><code>// previously this causes type errors react() .map(p =&gt; ({ ...p, applyToEnvironment: e =&gt; e.name === 'client' })) </code></pre> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/9e0c1038959e828865be810a164a51c3db1ac375"><code>9e0c103</code></a> release: plugin-react-swc@3.11.0</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/bbfd1b797c510fbe54348469e952bb1f6ec287f6"><code>bbfd1b7</code></a> chore: update changelog for <a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react-swc/issues/537">#537</a></li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/fdc9d9a18a909398b8e217438631f49035e0797b"><code>fdc9d9a</code></a> feat: add hmr support for compound components (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react-swc/issues/518">#518</a>)</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/d14f31d3bf8487346ae6f9db7e6ca7263c93066b"><code>d14f31d</code></a> fix(deps): update all non-major dependencies (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react-swc/issues/568">#568</a>)</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/2a3b053679d43bc05ff4773480082e0716162841"><code>2a3b053</code></a> fix(deps): update swc monorepo (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react-swc/issues/569">#569</a>)</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/6328ef2a9e46e2468e6b68b31c623baafc7e3ff1"><code>6328ef2</code></a> build: use tsdown for plugin-react-swc (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react-swc/issues/555">#555</a>)</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/54a782fec4f85c15912ed5f550429bc147d697fd"><code>54a782f</code></a> test(react-swc): simplify ts-lib test (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react-swc/issues/548">#548</a>)</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/cfe29122a8eec6c1e2ed9999531237dbce140e60"><code>cfe2912</code></a> fix(deps): update all non-major dependencies (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react-swc/issues/540">#540</a>)</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/11f56d63a9ed082137732211db556c784cadb523"><code>11f56d6</code></a> fix: return <code>Plugin[]</code> instead of <code>PluginOption[]</code> (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react-swc/issues/537">#537</a>)</li> <li><a href="https://github.com/vitejs/vite-plugin-react/commit/7196f66f9d05270972be7bbdac84e95987c6dd73"><code>7196f66</code></a> chore(deps): update Vite 7 (<a href="https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react-swc/issues/522">#522</a>)</li> <li>Additional commits viewable in <a href="https://github.com/vitejs/vite-plugin-react/commits/plugin-react-swc@3.11.0/packages/plugin-react-swc">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@vitejs/plugin-react-swc&package-manager=npm_and_yarn&previous-version=3.10.2&new-version=3.11.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pyrodactyl#109