@rspack/plugin-react-refresh 0.3.12-canary-bd2e9a8-20231114131339 → 0.3.12-canary-2abacde-20231114144201
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -0
- package/package.json +3 -4
package/dist/index.js
CHANGED
@@ -36,7 +36,9 @@ class ReactRefreshRspackPlugin {
|
|
36
36
|
$ReactRefreshRuntime$: reactRefreshPath
|
37
37
|
}).apply(compiler);
|
38
38
|
compiler.options.module.rules.unshift({
|
39
|
+
// @ts-expect-error
|
39
40
|
include: this.options.include,
|
41
|
+
// @ts-expect-error
|
40
42
|
exclude: {
|
41
43
|
or: [this.options.exclude, [...runtimePaths]].filter(Boolean)
|
42
44
|
},
|
package/package.json
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@rspack/plugin-react-refresh",
|
3
|
-
"version": "0.3.12-canary-
|
3
|
+
"version": "0.3.12-canary-2abacde-20231114144201",
|
4
4
|
"license": "MIT",
|
5
5
|
"description": "React refresh plugin for rspack",
|
6
6
|
"main": "dist/index.js",
|
7
7
|
"types": "dist/index.d.ts",
|
8
8
|
"exports": {
|
9
9
|
".": {
|
10
|
-
"types": "./dist/index.d.ts",
|
11
10
|
"default": "./dist/index.js"
|
12
11
|
},
|
13
12
|
"./react-refresh": "./client/reactRefresh.js",
|
@@ -33,8 +32,8 @@
|
|
33
32
|
},
|
34
33
|
"devDependencies": {
|
35
34
|
"react-refresh": "0.14.0",
|
36
|
-
"@rspack/core": "0.3.12-canary-
|
37
|
-
"@rspack/plugin-react-refresh": "0.3.12-canary-
|
35
|
+
"@rspack/core": "0.3.12-canary-2abacde-20231114144201",
|
36
|
+
"@rspack/plugin-react-refresh": "0.3.12-canary-2abacde-20231114144201"
|
38
37
|
},
|
39
38
|
"peerDependencies": {
|
40
39
|
"react-refresh": ">=0.10.0 <1.0.0"
|