@forrestjs/babel-preset-package

5.0.0-alpha.2 • Public • Published

@forrestjs/babel-preset-package

This Babel preset is used for our internal packages.

Packages

Usage

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

npm install --dev @forrestjs/babel-preset-package
{
  "presets": ["@forrestjs/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.

Package Sidebar

Install

npm i @forrestjs/babel-preset-package

Weekly Downloads

166

Version

5.0.0-alpha.2

License

MIT

Unpacked Size

5.12 kB

Total Files

6

Last publish

Collaborators

  • marcopeg