/babel-env-cli

Babel command line interface for global use, including preset-env as default.

Primary LanguageJavaScriptMIT LicenseMIT

babel-env

CLI interface for Babel + @babel/preset-env.

Install

This package is meant to be installed globally.

npm install babel-env-cli --global

Usage

Usage
  $ babel-env <input.js>

Options
  -h, --help   Show this help
  -o, --output Output file
  -w, --watch  Watch JS source directory for changes

Example
  $ babel-env src/input.js -o dist/output.js
  $ babel-env src/input.js -o dist/output.js --watch

Related

License

MIT