babel-preset-mercenary

3.32.13 • Public • Published

babel-preset-mercenary

This package includes the Babel preset used by mercenary.
Please refer to its documentation:

Usage in Mercenary projects

The easiest way to use this configuration is with mercenary, which includes it by default. You don’t need to install it separately in mercenary projects.

Usage Outside of Mercenary

If you want to use this Babel preset in a project not built with mercenary, you can install it with following steps.

First, install Babel.

Then create a file named .babelrc with following contents in the root folder of your project:

{
  "presets": ["mercenary"]
}

This preset uses the useBuiltIns option with transform-object-rest-spread and transform-react-jsx, which assumes that Object.assign is available or polyfilled.

Readme

Keywords

none

Package Sidebar

Install

npm i babel-preset-mercenary

Weekly Downloads

4

Version

3.32.13

License

ISC

Unpacked Size

3.36 kB

Total Files

3

Last publish

Collaborators

  • justinsisley