Skip to content

Commit 1700a37

Browse files
committed
up
1 parent e34c9dd commit 1700a37

File tree

6 files changed

+16
-15
lines changed

6 files changed

+16
-15
lines changed

examples/vue-component-bundle/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"devDependencies": {
1212
"@rslib/core": "workspace:*",
13-
"rsbuild-plugin-unplugin-vue": "^0.0.3",
13+
"rsbuild-plugin-unplugin-vue": "^0.0.5",
1414
"typescript": "^5.8.3",
1515
"vue": "^3.5.13",
1616
"vue-tsc": "^2.2.10"

examples/vue-component-bundleless/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"@storybook/blocks": "^8.6.12",
2222
"@storybook/test": "^8.6.12",
2323
"@storybook/vue3": "^8.6.12",
24-
"rsbuild-plugin-unplugin-vue": "^0.0.3",
24+
"rsbuild-plugin-unplugin-vue": "^0.0.5",
2525
"storybook": "^8.6.12",
2626
"storybook-addon-rslib": "^1.0.1",
2727
"storybook-vue3-rsbuild": "^1.0.1",

pnpm-lock.yaml

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/integration/vue/index.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1+
import { platform } from 'node:os';
12
import { join } from 'node:path';
23
import { buildAndGetResults } from 'test-helper';
34
import { describe, expect, test } from 'vitest';
45

5-
describe('ESM', async () => {
6+
// '__file' path can't be normalized on win32.
7+
describe.runIf(platform() !== 'win32')('ESM', async () => {
68
const fixturePath = join(__dirname);
79
const { js, css } = await buildAndGetResults({
810
fixturePath,
911
type: 'all',
1012
});
11-
1213
test('bundle', async () => {
1314
expect(js.contents.esm1).toMatchInlineSnapshot(`
1415
{

tests/integration/vue/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"type": "module",
66
"devDependencies": {
77
"@rsbuild/plugin-less": "^1.2.4",
8-
"rsbuild-plugin-unplugin-vue": "^0.0.3",
8+
"rsbuild-plugin-unplugin-vue": "^0.0.5",
99
"vue": "^3.5.13"
1010
},
1111
"peerDependencies": {

website/docs/en/guide/solution/vue.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Currently only Vue3 version is supported, Vue2 version is not supported.
2424

2525
Then, when prompted with "Select template", choose `Vue`.
2626

27-
## Using in Existing Rslib Project
27+
## Using in existing Rslib project
2828

2929
For developing Vue components, you need to set the [target](/config/rsbuild/output#outputtarget) to `"web"` in `rslib.config.ts`. This is crucial because Rslib sets `target` to `"node"` by default, which is different from Rsbuild's default target value.
3030

0 commit comments

Comments
 (0)