@rsbuild/plugin-vue 1.0.3 → 1.0.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
@@ -63,8 +63,9 @@ const applySplitChunksRule = (api, options = {
63
63
  chain.optimization.splitChunks({
64
64
  ...currentConfig,
65
65
  cacheGroups: {
66
- ...currentConfig.cacheGroups,
67
- ...extraGroups
66
+ // user defined cache groups take precedence
67
+ ...extraGroups,
68
+ ...currentConfig.cacheGroups
68
69
  }
69
70
  });
70
71
  });
package/dist/index.js CHANGED
@@ -25,8 +25,9 @@ const applySplitChunksRule = (api, options = {
25
25
  chain.optimization.splitChunks({
26
26
  ...currentConfig,
27
27
  cacheGroups: {
28
- ...currentConfig.cacheGroups,
29
- ...extraGroups
28
+ // user defined cache groups take precedence
29
+ ...extraGroups,
30
+ ...currentConfig.cacheGroups
30
31
  }
31
32
  });
32
33
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsbuild/plugin-vue",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Vue 3 plugin of Rsbuild",
5
5
  "homepage": "https://rsbuild.dev",
6
6
  "repository": {
@@ -24,13 +24,13 @@
24
24
  ],
25
25
  "dependencies": {
26
26
  "vue-loader": "^17.4.2",
27
- "webpack": "^5.95.0"
27
+ "webpack": "^5.96.1"
28
28
  },
29
29
  "devDependencies": {
30
30
  "typescript": "^5.6.3",
31
31
  "vue": "^3.5.12",
32
- "webpack": "^5.95.0",
33
- "@rsbuild/core": "1.0.19",
32
+ "webpack": "^5.96.1",
33
+ "@rsbuild/core": "1.1.0",
34
34
  "@scripts/test-helper": "1.0.1"
35
35
  },
36
36
  "peerDependencies": {