Commit a51319a
Upgrade: [dependabot] - bump @vitejs/plugin-react-swc from 4.2.0 to 4.2.1 (#1494)
Bumps
[@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react-swc)
from 4.2.0 to 4.2.1.
<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>[email protected]</h2>
<p>Remove generic parameter on <code>Plugin</code> to avoid type error
with Rollup 4/Vite 5 and <code>skipLibCheck: false</code>.</p>
<p>I expect very few people to currently use this feature, but if you
are extending the React plugin via <code>api</code> object, you can get
back the typing of the hook by importing
<code>ViteReactPluginApi</code>:</p>
<pre lang="ts"><code>import type { Plugin } from 'vite'
import type { ViteReactPluginApi } from '@vitejs/plugin-react'
<p>export const somePlugin: Plugin = {<br />
name: 'some-plugin',<br />
api: {<br />
reactBabel: (babelConfig) => {<br />
babelConfig.plugins.push('some-babel-plugin')<br />
},<br />
} satisfies ViteReactPluginApi,<br />
}<br />
</code></pre></p>
<h2>[email protected]</h2>
<h3>Fix <code>@vitejs/plugin-react-swc/preamble</code> on build (<a
href="https://redirect.github.com/vitejs/vite-plugin-react/pull/962">#962</a>)</h3>
</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>4.2.1 (2025-11-05)</h2>
<h3>Fix <code>@vitejs/plugin-react-swc/preamble</code> on build (<a
href="https://redirect.github.com/vitejs/vite-plugin-react/pull/962">#962</a>)</h3>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/vitejs/vite-plugin-react/commits/v4.2.1/packages/plugin-react-swc">compare
view</a></li>
</ul>
</details>
<br />
[](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>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: anthony-nhs <[email protected]>1 parent 00c91cf commit a51319a
2 files changed
+9
-9
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
0 commit comments