CmdID

CmdID / Commands

swc

JavaScript and TypeScript compiler written in Rust. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Transpile a specified input file and output to stdout

swc path/to/fileIdentify

Transpile the input file every time it is changed

swc path/to/file --watchIdentify

Transpile a specified input file and output to a specific file

swc path/to/input_file --out-file path/to/output_fileIdentify

Transpile a specified input directory and output to a specific directory

swc path/to/input_directory --out-dir path/to/output_directoryIdentify

Transpile a specified input directory using a specific configuration file

swc path/to/input_directory --config-file path/to/.swcrcIdentify

Ignore files in a directory specified using glob path

swc path/to/input_directory --ignore path/to/ignored_file1 path/to/ignored_file2 ...Identify