Skip to content

chore(deps): update dependency @rspack/plugin-react-refresh to v2#6

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/major-all-dependencies
Open

chore(deps): update dependency @rspack/plugin-react-refresh to v2#6
renovate[bot] wants to merge 1 commit intomainfrom
renovate/major-all-dependencies

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Apr 8, 2026

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@rspack/plugin-react-refresh ^1.6.1^2.0.0 age adoption passing confidence

Release Notes

rstackjs/rspack-plugin-react-refresh (@​rspack/plugin-react-refresh)

v2.0.0

Compare Source

Upgrade Guide

Pure ESM package

@rspack/plugin-react-refresh is now pure ESM (the same as Rspack 2.0).

Default export removed

The plugin now provides a named export only.

- import ReactRefreshRspackPlugin from '@​rspack/plugin-react-refresh';
+ import { ReactRefreshRspackPlugin } from '@​rspack/plugin-react-refresh';
overlay option removed

The overlay option has been removed. Rspack dev server and Rsbuild dev server already provide built-in error overlays, so this package no longer ships its own overlay integration.

Default option changes

The default extension filter has moved from include to test.

Before:

  • test: undefined
  • include: /\.([cm]js|[jt]sx?|flow)$/i

Now:

  • test: /\.(?:js|jsx|mjs|cjs|ts|tsx|mts|cts)$/
  • include: undefined

This makes custom include safer: when include points to a directory, the plugin still only applies to supported JS/TS module extensions by default.

What's Changed

Breaking Changes
Others

Full Changelog: rstackjs/rspack-plugin-react-refresh@v1.6.2...v2.0.0-beta.0

v1.6.2

Compare Source

What's Changed

Full Changelog: rstackjs/rspack-plugin-react-refresh@v1.6.1...v1.6.2


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants