We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35286d0 commit c22c6f3Copy full SHA for c22c6f3
2 files changed
README.md
@@ -8,6 +8,11 @@
8
9
React refresh plugin for [Rspack](https://github.com/web-infra-dev/rspack).
10
11
+## Versions
12
+
13
+- `2.x`: For Rspack v2.
14
+- `1.x`: For Rspack v1, see [v1.x - README](https://github.com/rstackjs/rspack-dev-server/tree/v1.x#rspackdev-server) for usage guide.
15
16
## Installation
17
18
First you need to install this plugin and its dependencies:
package.json
@@ -44,8 +44,14 @@
44
"typescript": "^6.0.2"
45
},
46
"peerDependencies": {
47
+ "@rspack/core": "^2.0.0-0",
48
"react-refresh": ">=0.10.0 <1.0.0"
49
50
+ "peerDependenciesMeta": {
51
+ "@rspack/core": {
52
+ "optional": true
53
+ }
54
+ },
55
"packageManager": "pnpm@10.33.0",
56
"publishConfig": {
57
"access": "public",
0 commit comments