@rsbuild/plugin-vue2 0.3.10 → 0.4.0

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 CHANGED
@@ -63,6 +63,7 @@ var applySplitChunksRule = (api, options = {
63
63
  }
64
64
  chain.optimization.splitChunks({
65
65
  ...currentConfig,
66
+ // @ts-expect-error Rspack and Webpack uses different cacheGroups type
66
67
  cacheGroups: {
67
68
  ...currentConfig.cacheGroups,
68
69
  ...(0, import_shared.createCacheGroups)(extraGroups)
package/dist/index.mjs CHANGED
@@ -47,6 +47,7 @@ var applySplitChunksRule = (api, options = {
47
47
  }
48
48
  chain.optimization.splitChunks({
49
49
  ...currentConfig,
50
+ // @ts-expect-error Rspack and Webpack uses different cacheGroups type
50
51
  cacheGroups: {
51
52
  ...currentConfig.cacheGroups,
52
53
  ...createCacheGroups(extraGroups)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsbuild/plugin-vue2",
3
- "version": "0.3.10",
3
+ "version": "0.4.0",
4
4
  "description": "Vue 2 plugin of Rsbuild",
5
5
  "homepage": "https://rsbuild.dev",
6
6
  "repository": {
@@ -25,16 +25,16 @@
25
25
  "dependencies": {
26
26
  "vue-loader": "^15.11.1",
27
27
  "webpack": "^5.89.0",
28
- "@rsbuild/shared": "0.3.10"
28
+ "@rsbuild/shared": "0.4.0"
29
29
  },
30
30
  "devDependencies": {
31
31
  "typescript": "^5.3.0",
32
32
  "webpack": "^5.89.0",
33
- "@rsbuild/core": "0.3.10",
34
- "@scripts/test-helper": "0.3.10"
33
+ "@rsbuild/core": "0.4.0",
34
+ "@scripts/test-helper": "0.4.0"
35
35
  },
36
36
  "peerDependencies": {
37
- "@rsbuild/core": "^0.3.10"
37
+ "@rsbuild/core": "^0.4.0"
38
38
  },
39
39
  "publishConfig": {
40
40
  "access": "public",