Skip to content

Commit 0fcf8cf

Browse files
committed
chore: update
1 parent 624608e commit 0fcf8cf

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

website/docs/en/config/lib/dts.mdx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,6 @@ export default {
8686
};
8787
```
8888

89-
::: note
90-
91-
[@microsoft/api-extractor](https://www.npmjs.com/package/@microsoft/api-extractor) only supports bundle DTS for single entry. If you want to generate bundle DTS for multiple entries, you can add extra lib configuration in [lib](/config/lib/) field to split multiple entries into multiple lib configurations.
92-
93-
:::
94-
9589
#### Handle third-party packages
9690

9791
When we bundle DTS files, we should specify which third-party package types need to be bundled, refer to the [Handle Third-Party Dependencies](/guide/advanced/third-party-deps) documentation for more details about externals related configurations.

website/docs/zh/config/lib/dts.mdx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,6 @@ export default {
8686
};
8787
```
8888

89-
::: note
90-
91-
[@microsoft/api-extractor](https://www.npmjs.com/package/@microsoft/api-extractor) 只支持为单个入口打包 DTS。如果你想要为多个入口生成打包后的 DTS,你可以在 [lib](/config/lib/) 字段中添加额外的 lib 配置,将多个入口拆分为多个 lib 配置。
92-
93-
:::
94-
9589
#### 处理第三方依赖
9690

9791
当我们打包 DTS 文件时,我们需要指定哪些第三方包的类型需要被打包,可以参考 [处理第三方依赖](/guide/advanced/third-party-deps) 文档了解更多关于 externals 相关的配置。

0 commit comments

Comments
 (0)