Skip to content

Commit

Permalink
Update website/docs/zh/config/lib/out-base.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
Timeless0911 authored Feb 11, 2025
1 parent ecda81a commit c39b6aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/zh/config/lib/out-base.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ dist

::: tip

当项目需要生成 DTS 类型声明文件时,为了保证生成的 DTS 文件与 JS 文件保持一致的输出目录结构,如果修改了 `outBase` 配置,需要同时修改 `tsconfig.json` 中的 [rootDir](https://www.typescriptlang.org/tsconfig/rootDir.html) 为相同的路径。
当项目需要生成 DTS 类型声明文件时,为了保证生成的 DTS 文件与 JS 文件保持一致的输出目录结构,如果修改了 `outBase` 配置,需要确保 `tsconfig.json` 中的 [rootDir](https://www.typescriptlang.org/tsconfig/rootDir.html) 为相同的路径。

:::

0 comments on commit c39b6aa

Please sign in to comment.