Skip to content

Commit e3c9b45

Browse files
authored
docs: update plugins bundleless compatibility (#1014)
1 parent 9f5aa35 commit e3c9b45

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

website/docs/en/config/rsbuild/plugins.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ import { RsbuildDocBadge } from '@components/RsbuildDocBadge';
66

77
Rslib and Rsbuild share the same plugin system, so you can use Rsbuild plugins in Rslib.
88

9-
:::tip
10-
Currently, some plugins have not been adapted to the [bundleless](/guide/basic/output-structure#bundle--bundleless) mode of Rslib, such as the Vue plugin and Svelte plugin. Therefore, these plugins can only be used in the bundle mode.
9+
::: note
10+
11+
Currently, some plugins have not been adapted to the [bundleless](/guide/basic/output-structure#bundle--bundleless) mode. For example, the Svelte plugin can only be used in the bundle mode.
12+
1113
:::
1214

1315
## Using plugins

website/docs/zh/config/rsbuild/plugins.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ import { RsbuildDocBadge } from '@components/RsbuildDocBadge';
66

77
Rslib 与 Rsbuild 共享同一套插件系统,因此你可以在 Rslib 中使用 Rsbuild 插件。
88

9-
:::tip
10-
目前部分插件还未适配 Rslib 的 [bundleless](/guide/basic/output-structure#bundle--bundleless) 模式,比如 Vue 插件和 Svelte 插件。因此,这些插件只能在 bundle 模式下使用。
9+
::: note
10+
11+
目前部分插件还未适配 [bundleless](/guide/basic/output-structure#bundle--bundleless) 模式。例如,Svelte 插件目前只能在 bundle 模式下使用。
12+
1113
:::
1214

1315
## 使用插件

0 commit comments

Comments
 (0)