chore(deps-dev): update @vitejs/plugin-react-swc requirement from ^3.6.0 to ^3.7.0
Updates the requirements on @vitejs/plugin-react-swc to permit the latest version.
Release notes
Sourced from @vitejs/plugin-react-swc's releases.
v3.7.0
Support HMR for class components
This is a long overdue and should fix some issues people had with HMR when migrating from CRA.
Changelog
Sourced from @vitejs/plugin-react-swc's changelog.
3.7.0
Support HMR for class components
This is a long overdue and should fix some issues people had with HMR when migrating from CRA.
3.6.0
Add parserConfig option
This will unlock to use the plugin in some use cases where the original source code is not in TS. Using this option to keep using JSX inside
.jsfiles is highly discouraged and can be removed in any future version.3.5.0
Update peer dependency range to target Vite 5
There were no breaking change that impacted this plugin, so any combination of React plugins and Vite core version will work.
Align jsx runtime for optimized dependencies
This will only affect people using internal libraries that contains untranspiled JSX. This change aligns the optimizer with the source code and avoid issues when the published source don't have
Reactin the scope.Reminder: While being partially supported in Vite, publishing TS & JSX outside of internal libraries is highly discouraged.
3.4.1
Add support for
.mts(fixes #161)Using CJS in source code will not work in Vite (and will never be supported), so this is better to only use
.ts.But to better align with Vite core defaults,
.mtsextension will now be processed like.ts. This maybe reverted in a future major.3.4.0
- Add
devTargetoption (fixes #141)- Disable Fast Refresh based on
config.server.hmr === falseinstead ofprocess.env.TEST- Warn when plugin is in WebContainers (see #118)
- Better invalidation message when an export is added & fix HMR for export of nullish values (#143)
3.3.2
- Support Vitest deps.experimentalOptimizer (#115)
3.3.1
- Add
type: moduleto package.json (#101). Because the library already publish.cjs&.mjsfiles, the only change is for typing when using the node16 module resolution (fixes #95)- Throw an error when the MDX plugin is after this one (#100). This is an expected breaking change added in
3.2.0and this should people that were using both plugins before this version to migrate.3.3.0
... (truncated)
Commits
b829b03docs: add changelogf41bbc3release: v3.7.08f5d9a0chore: update tests for compatibility with Vite 6 (#208)59efc9bfix(deps): update all non-major dependencies (#194)be68920chore(deps): update dependency@swc/plugin-emotionto v3 (#201)53878dffeat: support HMR for class components (#203)- See full diff in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)