@rsbuild/plugin-vue 0.7.6 → 0.7.7

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
@@ -30,6 +30,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
30
30
  // src/index.ts
31
31
  var src_exports = {};
32
32
  __export(src_exports, {
33
+ PLUGIN_VUE_NAME: () => PLUGIN_VUE_NAME,
33
34
  pluginVue: () => pluginVue
34
35
  });
35
36
  module.exports = __toCommonJS(src_exports);
@@ -75,9 +76,10 @@ var applySplitChunksRule = (api, options = {
75
76
  };
76
77
 
77
78
  // src/index.ts
79
+ var PLUGIN_VUE_NAME = "rsbuild:vue";
78
80
  function pluginVue(options = {}) {
79
81
  return {
80
- name: "rsbuild:vue",
82
+ name: PLUGIN_VUE_NAME,
81
83
  setup(api) {
82
84
  const VUE_REGEXP = /\.vue$/;
83
85
  const CSS_MODULES_REGEX = /\.modules?\.\w+$/i;
@@ -127,5 +129,6 @@ function pluginVue(options = {}) {
127
129
  }
128
130
  // Annotate the CommonJS export names for ESM import in node:
129
131
  0 && (module.exports = {
132
+ PLUGIN_VUE_NAME,
130
133
  pluginVue
131
134
  });
package/dist/index.d.ts CHANGED
@@ -24,6 +24,7 @@ type PluginVueOptions = {
24
24
  */
25
25
  splitChunks?: SplitVueChunkOptions;
26
26
  };
27
+ declare const PLUGIN_VUE_NAME = "rsbuild:vue";
27
28
  declare function pluginVue(options?: PluginVueOptions): RsbuildPlugin;
28
29
 
29
- export { type PluginVueOptions, type SplitVueChunkOptions, pluginVue };
30
+ export { PLUGIN_VUE_NAME, type PluginVueOptions, type SplitVueChunkOptions, pluginVue };
package/dist/index.js CHANGED
@@ -56,9 +56,10 @@ var applySplitChunksRule = (api, options = {
56
56
  };
57
57
 
58
58
  // src/index.ts
59
+ var PLUGIN_VUE_NAME = "rsbuild:vue";
59
60
  function pluginVue(options = {}) {
60
61
  return {
61
- name: "rsbuild:vue",
62
+ name: PLUGIN_VUE_NAME,
62
63
  setup(api) {
63
64
  const VUE_REGEXP = /\.vue$/;
64
65
  const CSS_MODULES_REGEX = /\.modules?\.\w+$/i;
@@ -107,5 +108,6 @@ function pluginVue(options = {}) {
107
108
  };
108
109
  }
109
110
  export {
111
+ PLUGIN_VUE_NAME,
110
112
  pluginVue
111
113
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsbuild/plugin-vue",
3
- "version": "0.7.6",
3
+ "version": "0.7.7",
4
4
  "description": "Vue 3 plugin of Rsbuild",
5
5
  "homepage": "https://rsbuild.dev",
6
6
  "repository": {
@@ -24,18 +24,18 @@
24
24
  ],
25
25
  "dependencies": {
26
26
  "vue-loader": "^17.4.0",
27
- "webpack": "^5.91.0",
28
- "@rsbuild/shared": "0.7.6"
27
+ "webpack": "^5.92.0",
28
+ "@rsbuild/shared": "0.7.7"
29
29
  },
30
30
  "devDependencies": {
31
31
  "typescript": "^5.4.2",
32
32
  "vue": "^3.4.19",
33
- "webpack": "^5.91.0",
34
- "@rsbuild/core": "0.7.6",
35
- "@scripts/test-helper": "0.7.6"
33
+ "webpack": "^5.92.0",
34
+ "@scripts/test-helper": "0.7.7",
35
+ "@rsbuild/core": "0.7.7"
36
36
  },
37
37
  "peerDependencies": {
38
- "@rsbuild/core": "^0.7.6"
38
+ "@rsbuild/core": "^0.7.7"
39
39
  },
40
40
  "publishConfig": {
41
41
  "access": "public",