Skip to content

Commit cb4656d

Browse files
authored
Update Chinese translation for config-file.md
1 parent cea3b4a commit cb4656d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/zh-CN/options/config-file.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ tsdown --no-config
6969
- `auto`(默认):如果运行时支持,则使用原生方式加载 TypeScript,否则回退到 `unconfig`
7070
- `native`:通过原生运行时支持加载 TypeScript 配置文件。需要兼容的环境,如最新版 Node.js、Deno 或 Bun。
7171
- `unconfig`:使用 `unconfig` 库加载配置文件,确保在不同运行时下具有广泛兼容性。
72-
- `unrun` _(experimental)_: Loads configuration files using the [`unrun`](https://gugustinette.github.io/unrun/) library, which provides similar compatibility as `unconfig` but with more performances. Install the `unrun` package to use this loader.
72+
- `unrun` _(实验性)_: 使用 [`unrun`](https://gugustinette.github.io/unrun/) 库加载配置文件,兼容性与 `unconfig` 类似,但性能更高。要使用此加载器,请先安装 `unrun` 包。
7373

7474
> [!TIP]
7575
> Node.js 原生不支持在不指定文件扩展名的情况下导入 TypeScript 文件。如果您在 Node.js 环境下希望加载不带 `.ts` 扩展名的 TypeScript 配置文件,建议使用 `unconfig``unrun` 加载器以获得更好的兼容性。

0 commit comments

Comments
 (0)