@rsbuild/plugin-vue 1.2.4 → 1.2.6
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 +1 -1
- package/dist/index.js +1 -1
- package/package.json +6 -6
package/dist/index.cjs
CHANGED
|
@@ -20,7 +20,7 @@ __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_expo
|
|
|
20
20
|
});
|
|
21
21
|
const external_node_module_namespaceObject = require("node:module"), external_rspack_vue_loader_namespaceObject = require("rspack-vue-loader"), isPlainObject = (obj)=>null !== obj && 'object' == typeof obj && '[object Object]' === Object.prototype.toString.call(obj), isDefaultPreset = (config)=>{
|
|
22
22
|
let { performance, splitChunks } = config;
|
|
23
|
-
return performance.chunkSplit
|
|
23
|
+
return performance.chunkSplit ? performance.chunkSplit?.strategy === 'split-by-experience' : 'object' == typeof splitChunks && (!splitChunks.preset || 'default' === splitChunks.preset);
|
|
24
24
|
};
|
|
25
25
|
function applySplitChunksRule(api, options = {
|
|
26
26
|
vue: !0,
|
package/dist/index.js
CHANGED
|
@@ -8,7 +8,7 @@ function applySplitChunksRule(api, options = {
|
|
|
8
8
|
let { config } = environment;
|
|
9
9
|
if (!((config)=>{
|
|
10
10
|
let { performance, splitChunks } = config;
|
|
11
|
-
return performance.chunkSplit
|
|
11
|
+
return performance.chunkSplit ? performance.chunkSplit?.strategy === 'split-by-experience' : 'object' == typeof splitChunks && (!splitChunks.preset || 'default' === splitChunks.preset);
|
|
12
12
|
})(config) || 'web' !== config.output.target) return;
|
|
13
13
|
let currentConfig = chain.optimization.splitChunks.values();
|
|
14
14
|
if (null === currentConfig || 'object' != typeof currentConfig || '[object Object]' !== Object.prototype.toString.call(currentConfig)) return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsbuild/plugin-vue",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.6",
|
|
4
4
|
"description": "Vue 3 plugin of Rsbuild",
|
|
5
5
|
"homepage": "https://rsbuild.rs",
|
|
6
6
|
"repository": {
|
|
@@ -23,15 +23,15 @@
|
|
|
23
23
|
"dist"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"rspack-vue-loader": "^17.
|
|
27
|
-
"webpack": "^5.104.1"
|
|
26
|
+
"rspack-vue-loader": "^17.5.0"
|
|
28
27
|
},
|
|
29
28
|
"devDependencies": {
|
|
30
|
-
"@
|
|
31
|
-
"@
|
|
29
|
+
"@rsbuild/core-v1": "npm:@rsbuild/core@^1.7.3",
|
|
30
|
+
"@rslib/core": "0.19.4",
|
|
31
|
+
"@types/node": "^24.10.10",
|
|
32
32
|
"typescript": "^5.9.3",
|
|
33
33
|
"vue": "^3.5.27",
|
|
34
|
-
"@rsbuild/core": "2.0.0-beta.
|
|
34
|
+
"@rsbuild/core": "2.0.0-beta.2",
|
|
35
35
|
"@scripts/test-helper": "1.0.1"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|