@rspack/plugin-react-refresh 0.4.4 → 0.4.5

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -42,7 +42,7 @@ class ReactRefreshRspackPlugin {
42
42
  use: "builtin:react-refresh-loader"
43
43
  });
44
44
  const definedModules = {
45
- // For Mutiple Instance Mode
45
+ // For Multiple Instance Mode
46
46
  __react_refresh_library__: JSON.stringify(compiler.webpack.Template.toIdentifier(this.options.library ||
47
47
  compiler.options.output.uniqueName ||
48
48
  compiler.options.output.library))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspack/plugin-react-refresh",
3
- "version": "0.4.4",
3
+ "version": "0.4.5",
4
4
  "license": "MIT",
5
5
  "description": "React refresh plugin for rspack",
6
6
  "main": "dist/index.js",
@@ -29,8 +29,8 @@
29
29
  },
30
30
  "devDependencies": {
31
31
  "react-refresh": "0.14.0",
32
- "@rspack/plugin-react-refresh": "0.4.4",
33
- "@rspack/core": "0.4.4"
32
+ "@rspack/core": "0.4.5",
33
+ "@rspack/plugin-react-refresh": "0.4.5"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "react-refresh": ">=0.10.0 <1.0.0"
@@ -48,7 +48,7 @@
48
48
  "testEnvironment": "../../scripts/test/patch-node-env.cjs"
49
49
  },
50
50
  "scripts": {
51
- "build": "rimraf dist/ && tsc -b ./tsconfig.build.json --force",
51
+ "build": "tsc -b ./tsconfig.build.json",
52
52
  "dev": "tsc -b -w",
53
53
  "test": "jest --runInBand"
54
54
  }