Skip to content

Commit ce9e077

Browse files
committed
feat: mark exports option as a stable feature
1 parent f67e032 commit ce9e077

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/options/package-exports.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default defineConfig({
1717
This will automatically analyze your entry points and output files, and update your `package.json` accordingly.
1818

1919
> [!WARNING]
20-
> This is an **experimental feature**. Please review the generated fields before publishing your package.
20+
> Please review the generated fields before publishing your package, or enable publint for validation.
2121
2222
## Exporting All Files
2323

docs/zh-CN/options/package-exports.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default defineConfig({
1717
这将自动分析您的入口文件和输出文件,并相应地更新您的 `package.json`
1818

1919
> [!WARNING]
20-
> 这是一个**实验性功能**请在发布包之前仔细检查自动生成的字段。
20+
> 请在发布包之前仔细检查自动生成的字段,或开启 publint 以进行验证
2121
2222
## 导出所有文件
2323

src/config/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ export interface UserConfig {
459459
globImport?: boolean
460460

461461
/**
462-
* **[experimental]** Generate package exports for `package.json`.
462+
* Generate package exports for `package.json`.
463463
*
464464
* This will set the `main`, `module`, `types`, `exports` fields in `package.json`
465465
* to point to the generated files.

0 commit comments

Comments
 (0)