Skip to content

Commit 3dab723

Browse files
committed
chore: update
1 parent 8131aff commit 3dab723

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

website/docs/en/guide/advanced/dts.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ import { PackageManagerTabs } from '@theme';
5858

5959
2. Set `dts: { bundle: true }` in the Rslib configuration file.
6060

61-
It should be noted that when generating declaration files, Rslib automatically sets some configuration options in `tsconfig.json` by default:
61+
It should be noted that during the generation of declaration files, Rslib will automatically enforce some configuration options in `tsconfig.json` to ensure that the [TypeScript Compiler API](https://github.com/microsoft/TypeScript/wiki/Using-the-Compiler-API) generates only declaration files.
6262

6363
```json
6464
{

website/docs/zh/guide/advanced/dts.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ import { PackageManagerTabs } from '@theme';
5858

5959
2. 在 Rslib 配置文件中设置 `dts: { bundle: true }`
6060

61-
需要注意的是,Rslib 在生成类型声明文件的过程中,默认会将 `tsconfig.json` 中的一些配置项设置为:
61+
需要注意的是,Rslib 在生成类型声明文件的过程中,默认会强制设置 `tsconfig.json` 中的一些配置项以保证 [TypeScript Compiler API](https://github.com/microsoft/TypeScript/wiki/Using-the-Compiler-API) 能够仅生成类型声明文件。
6262

6363
```json
6464
{

0 commit comments

Comments
 (0)