1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 14:02:08 +02:00
tldr/pages/common/swc.md
Vitor Henrique e7d5609dd3
pages*: improve list placeholders and wording of descriptions (#12111)
* pages*: improve wording and list placeholders

* clamav: fix verb tenses

Co-authored-by: Juri Dispan <juri.dispan@posteo.net>

* buzzphrase: use k instead of n for number of phrases

Co-authored-by: Juri Dispan <juri.dispan@posteo.net>

* adguardhome: use non-default instead of different

* adguardhome: use configuration instead of config

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* goimports, module: fix list placeholders

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* pages*: leave stems and extensions in the same placeholders

* pages*: fix list placeholders

* pages*: fix list placeholders

* pages*: apply suggestions from code review

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

* qpdf: enclose n with backticks

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

---------

Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2024-01-31 09:25:19 +05:30

28 lines
852 B
Markdown

# swc
> JavaScript and TypeScript compiler written in Rust.
> More information: <https://swc.rs>.
- Transpile a specified input file and output to `stdout`:
`swc {{path/to/file}}`
- Transpile the input file every time it is changed:
`swc {{path/to/file}} --watch`
- Transpile a specified input file and output to a specific file:
`swc {{path/to/input_file}} --out-file {{path/to/output_file}}`
- Transpile a specified input directory and output to a specific directory:
`swc {{path/to/input_directory}} --out-dir {{path/to/output_directory}}`
- Transpile a specified input directory using a specific configuration file:
`swc {{path/to/input_directory}} --config-file {{path/to/.swcrc}}`
- Ignore files in a directory specified using glob path:
`swc {{path/to/input_directory}} --ignore {{path/to/ignored_file1 path/to/ignored_file2 ...}}`