Skip to content

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

Merged
chenjiahan merged 1 commit intomainfrom
renovate/rspack-plugin-react-refresh-2.x
Apr 10, 2026
Merged

chore(deps): update dependency @rspack/plugin-react-refresh to v2#121
chenjiahan merged 1 commit intomainfrom
renovate/rspack-plugin-react-refresh-2.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Apr 10, 2026

This PR contains the following updates:

Package Change Age Confidence
@rspack/plugin-react-refresh ^1.6.2^2.0.0 age 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


Configuration

📅 Schedule: (in timezone Asia/Shanghai)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, only on Monday (* 0-3 * * 1)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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 force-pushed the renovate/rspack-plugin-react-refresh-2.x branch from de8f879 to 6b1ddd3 Compare April 10, 2026 07:14
@chenjiahan chenjiahan merged commit a683081 into main Apr 10, 2026
5 of 9 checks passed
@chenjiahan chenjiahan deleted the renovate/rspack-plugin-react-refresh-2.x branch April 10, 2026 07:18
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.

1 participant