Skip to content

Commit ccdaa6a

Browse files
committed
chore: mark rolldown as experimental feature
1 parent 2a7c29d commit ccdaa6a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Currently supports:
1313
- [Webpack](https://webpack.js.org/)
1414
- [esbuild](https://esbuild.github.io/)
1515
- [Rspack](https://www.rspack.dev/) (⚠️ experimental)
16+
- [Rolldown](https://rolldown.rs/) (⚠️ experimental)
1617
- And every framework built on top of them.
1718

1819
## Documentations

src/define.ts

+3
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export function createUnplugin<UserOptions, Nested extends boolean = boolean>(
1919
get vite() {
2020
return getVitePlugin(factory)
2121
},
22+
/** @experimental do not use it in production */
2223
get rolldown() {
2324
return getRolldownPlugin(factory)
2425
},
@@ -53,6 +54,7 @@ export function createVitePlugin<UserOptions, Nested extends boolean = boolean>(
5354
return getVitePlugin(factory)
5455
}
5556

57+
/** @experimental do not use it in production */
5658
export function createRolldownPlugin<UserOptions, Nested extends boolean = boolean>(
5759
factory: UnpluginFactory<UserOptions, Nested>,
5860
) {
@@ -65,6 +67,7 @@ export function createWebpackPlugin<UserOptions, Nested extends boolean = boolea
6567
return getWebpackPlugin(factory)
6668
}
6769

70+
/** @experimental do not use it in production */
6871
export function createRspackPlugin<UserOptions, Nested extends boolean = boolean>(
6972
factory: UnpluginFactory<UserOptions, Nested>,
7073
) {

0 commit comments

Comments
 (0)