@rsbuild/plugin-vue 1.2.1 → 1.2.2

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/README.md CHANGED
@@ -7,7 +7,7 @@ An Rsbuild plugin to provide support for Vue 3.
7
7
  <img src="https://img.shields.io/npm/v/@rsbuild/plugin-vue?style=flat-square&colorA=564341&colorB=EDED91" alt="npm version" />
8
8
  </a>
9
9
  <img src="https://img.shields.io/badge/License-MIT-blue.svg?style=flat-square&colorA=564341&colorB=EDED91" alt="license" />
10
- <a href="https://npmcharts.com/compare/@rsbuild/plugin-vue?minimal=true"><img src="https://img.shields.io/npm/dm/@rsbuild/plugin-vue.svg?style=flat-square&colorA=564341&colorB=EDED91" alt="downloads" /></a>
10
+ <a href="https://npmcharts.com/compare/@rsbuild/plugin-vue"><img src="https://img.shields.io/npm/dm/@rsbuild/plugin-vue.svg?style=flat-square&colorA=564341&colorB=EDED91" alt="downloads" /></a>
11
11
  </p>
12
12
 
13
13
  ## Documentation
package/dist/index.cjs CHANGED
@@ -70,6 +70,7 @@ function pluginVue(options = {}) {
70
70
  preserveWhitespace: !1,
71
71
  ...userLoaderOptions.compilerOptions
72
72
  }, vueLoaderOptions = {
73
+ isServerBuild: 'rstest' !== api.context.callerName && void 0,
73
74
  experimentalInlineMatchResource: !0,
74
75
  ...userLoaderOptions,
75
76
  compilerOptions
package/dist/index.js CHANGED
@@ -26,6 +26,7 @@ function pluginVue(options = {}) {
26
26
  preserveWhitespace: !1,
27
27
  ...userLoaderOptions.compilerOptions
28
28
  }, vueLoaderOptions = {
29
+ isServerBuild: 'rstest' !== api.context.callerName && void 0,
29
30
  experimentalInlineMatchResource: !0,
30
31
  ...userLoaderOptions,
31
32
  compilerOptions
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsbuild/plugin-vue",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "Vue 3 plugin of Rsbuild",
5
5
  "homepage": "https://rsbuild.rs",
6
6
  "repository": {
@@ -27,11 +27,11 @@
27
27
  "webpack": "^5.103.0"
28
28
  },
29
29
  "devDependencies": {
30
- "@rslib/core": "0.18.3",
31
- "@types/node": "^24.10.1",
30
+ "@rslib/core": "0.18.4",
31
+ "@types/node": "^24.10.4",
32
32
  "typescript": "^5.9.3",
33
33
  "vue": "^3.5.25",
34
- "@rsbuild/core": "1.6.13",
34
+ "@rsbuild/core": "1.6.14",
35
35
  "@scripts/test-helper": "1.0.1"
36
36
  },
37
37
  "peerDependencies": {