We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8f9d31 commit a955e18Copy full SHA for a955e18
2 files changed
website/docs/en/guide/cli/lib.mdx
@@ -17,11 +17,8 @@ The command loads the library configuration registered with [`define.lib()`](../
17
Examples:
18
19
```bash
20
-# Build ESM output and generate declaration files
21
-rs lib --format esm --dts
22
-
23
-# Build CommonJS output without bundling modules
24
-rs lib --format cjs --no-bundle
+# Build and generate declaration files
+rs lib --dts
25
26
# Rebuild when files change
27
rs lib --watch
website/docs/zh/guide/cli/lib.mdx
@@ -17,11 +17,8 @@ rs lib [command] [options]
示例:
-# 构建 ESM 产物并生成声明文件
-# 构建不打包模块的 CommonJS 产物
+# 构建产物并生成声明文件
# 在文件变化时重新构建
0 commit comments