add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

28
pages.zh/common/swc.md Normal file
View File

@@ -0,0 +1,28 @@
# swc
> 用Rust编写的JavaScript和TypeScript编译器。
> 更多信息:<https://swc.rs>。
- 转换指定的输入文件并输出到`stdout`
`swc {{path/to/file}}`
- 每次输入文件更改时都进行转换:
`swc {{path/to/file}} --watch`
- 转换指定的输入文件并输出到特定文件:
`swc {{path/to/input_file}} --out-file {{path/to/output_file}}`
- 转换指定的输入目录并输出到特定目录:
`swc {{path/to/input_directory}} --out-dir {{path/to/output_directory}}`
- 使用特定配置文件转换指定的输入目录:
`swc {{path/to/input_directory}} --config-file {{path/to/.swcrc}}`
- 使用glob路径忽略指定目录中的文件
`swc {{path/to/input_directory}} --ignore {{path/to/ignored_file1 path/to/ignored_file2 ...}}`