Forrest logo
back to context overview

swc

List of commands for swc:

  • swc:tldr:0e51e swc: Transpile the input file every time it is changed.
    $ swc ${filename} --watch
    try on your machine
    explain this command
  • swc:tldr:22b82 swc: Transpile a specified input file and output to `stdout`.
    $ swc ${filename}
    try on your machine
    explain this command
  • swc:tldr:443ea swc: Transpile a specified input directory and output to a specific directory.
    $ swc ${path-to-input_directory} --out-dir ${path-to-output_directory}
    try on your machine
    explain this command
  • swc:tldr:5b2d1 swc: Transpile a specified input directory using a specific configuration file.
    $ swc ${path-to-input_directory} --config-file ${path-to--swcrc}
    try on your machine
    explain this command
  • swc:tldr:cd6b8 swc: Transpile a specified input file and output to a specific file.
    $ swc ${path-to-input_file} --out-file ${path-to-output_file}
    try on your machine
    explain this command
  • swc:tldr:fd386 swc: Ignore files in a directory specified using glob path.
    $ swc ${path-to-input_directory} --ignore ${ignored_files}
    try on your machine
    explain this command
back to context overview