Forrest logo
back to context overview

babel

List of commands for babel:

  • babel:help Output all available babel options.
    $ babel --help
    try on your machine
    explain this command
  • babel:tldr:19b3f babel: Transpile a specified input file and output to a specific file.
    $ babel ${path-to-input_file} --out-file ${path-to-output_file}
    try on your machine
    explain this command
  • babel:tldr:3cec1 babel: Choose a set of presets for output formatting.
    $ babel ${path-to-input_file} --presets ${presets}
    try on your machine
    explain this command
  • babel:tldr:59ed2 babel: Transpile and output as minified JavaScript.
    $ babel ${path-to-input_file} --minified
    try on your machine
    explain this command
  • babel:tldr:83740 babel: Transpile the input file every time it is changed.
    $ babel ${path-to-input_file} --watch
    try on your machine
    explain this command
  • babel:tldr:b012b babel: Ignore specified comma-separated files in a directory.
    $ babel ${path-to-input_directory} --ignore ${ignored_files}
    try on your machine
    explain this command
  • babel:transpile babel: Transpile a specified input file and output to `stdout`.
    $ babel ${filename}
    try on your machine
    explain this command
back to context overview