swc
JavaScript and TypeScript compiler written in Rust. More information: https://swc.rs/docs/usage/cli.
- Transpile a specified input file and output to
stdout:
swc
- Transpile the input file every time it is changed:
swc
- Transpile a specified input file and output to a specific file:
swc
- Transpile a specified input directory and output to a specific directory:
swc
- Transpile a specified input directory using a specific configuration file:
swc --config-file
- Ignore files in a directory specified using
globpath:
swc --ignore
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
