@rsbuild/plugin-vue 0.2.8 → 0.2.10

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.d.ts CHANGED
@@ -2,7 +2,17 @@ import { RsbuildPlugin } from '@rsbuild/core';
2
2
  import { VueLoaderOptions } from 'vue-loader';
3
3
 
4
4
  type SplitVueChunkOptions = {
5
+ /**
6
+ * Whether to enable split chunking for Vue-related dependencies (e.g., vue, vue-loader).
7
+ *
8
+ * @default true
9
+ */
5
10
  vue?: boolean;
11
+ /**
12
+ * Whether to enable split chunking for vue-router.
13
+ *
14
+ * @default true
15
+ */
6
16
  router?: boolean;
7
17
  };
8
18
  type PluginVueOptions = {
package/dist/index.js CHANGED
@@ -86,7 +86,8 @@ function pluginVue(options = {}) {
86
86
  define: {
87
87
  // https://link.vuejs.org/feature-flags
88
88
  __VUE_OPTIONS_API__: true,
89
- __VUE_PROD_DEVTOOLS__: false
89
+ __VUE_PROD_DEVTOOLS__: false,
90
+ __VUE_PROD_HYDRATION_MISMATCH_DETAILS__: false
90
91
  }
91
92
  }
92
93
  });
package/dist/index.mjs CHANGED
@@ -71,7 +71,8 @@ function pluginVue(options = {}) {
71
71
  define: {
72
72
  // https://link.vuejs.org/feature-flags
73
73
  __VUE_OPTIONS_API__: true,
74
- __VUE_PROD_DEVTOOLS__: false
74
+ __VUE_PROD_DEVTOOLS__: false,
75
+ __VUE_PROD_HYDRATION_MISMATCH_DETAILS__: false
75
76
  }
76
77
  }
77
78
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsbuild/plugin-vue",
3
- "version": "0.2.8",
3
+ "version": "0.2.10",
4
4
  "description": "Vue 3 plugin of Rsbuild",
5
5
  "homepage": "https://rsbuild.dev",
6
6
  "repository": {
@@ -23,15 +23,15 @@
23
23
  "dist"
24
24
  ],
25
25
  "dependencies": {
26
- "vue-loader": "^17.2.2",
26
+ "vue-loader": "^17.4.0",
27
27
  "webpack": "^5.89.0",
28
- "@rsbuild/shared": "0.2.8"
28
+ "@rsbuild/shared": "0.2.10"
29
29
  },
30
30
  "devDependencies": {
31
31
  "typescript": "^5.3.0",
32
32
  "webpack": "^5.89.0",
33
- "@rsbuild/core": "0.2.8",
34
- "@rsbuild/test-helper": "0.2.8"
33
+ "@rsbuild/core": "0.2.10",
34
+ "@rsbuild/test-helper": "0.2.10"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "@rsbuild/core": "0.x"