babel-preset-stoplight

0.3.4 • Public • Published

babel-preset-stoplight

This package includes the Babel preset used by Stoplight.

First, install Babel.

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

{
  "presets": ["stoplight"]
}

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

Readme

Keywords

none

Package Sidebar

Install

npm i babel-preset-stoplight

Weekly Downloads

1

Version

0.3.4

License

MIT

Last publish

Collaborators

  • marbemac