@rsbuild/plugin-react 0.7.3 → 0.7.4

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.cjs CHANGED
@@ -157,7 +157,6 @@ var applySplitChunksRule = (api, options = {
157
157
  }
158
158
  chain.optimization.splitChunks({
159
159
  ...currentConfig,
160
- // @ts-expect-error Rspack and Webpack uses different cacheGroups type
161
160
  cacheGroups: {
162
161
  ...currentConfig.cacheGroups,
163
162
  ...(0, import_shared2.createCacheGroups)(extraGroups)
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
9
9
  throw Error('Dynamic require of "' + x + '" is not supported');
10
10
  });
11
11
 
12
- // ../../node_modules/.pnpm/@modern-js+module-tools@2.51.0_eslint@9.4.0_typescript@5.4.5/node_modules/@modern-js/module-tools/shims/esm.js
12
+ // ../../node_modules/.pnpm/@modern-js+module-tools@2.52.0_eslint@9.4.0_typescript@5.4.5/node_modules/@modern-js/module-tools/shims/esm.js
13
13
  import { fileURLToPath } from "url";
14
14
  import path from "path";
15
15
 
@@ -137,7 +137,6 @@ var applySplitChunksRule = (api, options = {
137
137
  }
138
138
  chain.optimization.splitChunks({
139
139
  ...currentConfig,
140
- // @ts-expect-error Rspack and Webpack uses different cacheGroups type
141
140
  cacheGroups: {
142
141
  ...currentConfig.cacheGroups,
143
142
  ...createCacheGroups(extraGroups)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsbuild/plugin-react",
3
- "version": "0.7.3",
3
+ "version": "0.7.4",
4
4
  "description": "React plugin for Rsbuild",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,16 +24,16 @@
24
24
  "dependencies": {
25
25
  "@rspack/plugin-react-refresh": "0.7.1",
26
26
  "react-refresh": "^0.14.2",
27
- "@rsbuild/shared": "0.7.3"
27
+ "@rsbuild/shared": "0.7.4"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/node": "18.x",
31
31
  "typescript": "^5.4.2",
32
- "@rsbuild/core": "0.7.3",
33
- "@scripts/test-helper": "0.7.3"
32
+ "@rsbuild/core": "0.7.4",
33
+ "@scripts/test-helper": "0.7.4"
34
34
  },
35
35
  "peerDependencies": {
36
- "@rsbuild/core": "^0.7.3"
36
+ "@rsbuild/core": "^0.7.4"
37
37
  },
38
38
  "publishConfig": {
39
39
  "access": "public",