0.0.1 • Published 6 years ago

@fetchq/babel-preset-package v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

@fetchq/babel-preset-package

This Babel preset is used for our internal packages.

Packages

Usage

Install @fetchq/babel-preset-package and add a .babelrc file with the following content to the root of your project:

npm install --dev @fetchq/babel-preset-package
{
  "presets": ["@fetchq/babel-preset-package"]
}

Options

browser

boolean, defaults to false.

Defines if @babel/preset-env is configured to target browsers or Node.js environments.

debug

boolean, defaults to false.

Outputs the targets/plugins used and the version specified in plugin data version to console.log.