diff --git a/website/docs/en/config/lib/exports.mdx b/website/docs/en/config/lib/exports.mdx index c5f6b100b..5f7187110 100644 --- a/website/docs/en/config/lib/exports.mdx +++ b/website/docs/en/config/lib/exports.mdx @@ -27,6 +27,8 @@ type Exports = Generates the `exports` field in `package.json` from the build outputs after the build completes. +Thanks to [tsdown](https://tsdown.dev/options/package-exports) by [Kevin Deng](https://github.com/sxzz) for inspiring this feature. + ```ts title="rslib.config.ts" export default defineConfig({ dts: true, diff --git a/website/docs/zh/config/lib/exports.mdx b/website/docs/zh/config/lib/exports.mdx index 0e859cdda..10437ae07 100644 --- a/website/docs/zh/config/lib/exports.mdx +++ b/website/docs/zh/config/lib/exports.mdx @@ -27,6 +27,8 @@ type Exports = 在构建完成后根据产物生成 `package.json` 中的 `exports` 字段。 +感谢 [Kevin Deng](https://github.com/sxzz) 开发的 [tsdown](https://tsdown.dev/options/package-exports) 为此功能提供灵感。 + ```ts title="rslib.config.ts" export default defineConfig({ dts: true,