babel-preset-stoplight
v0.3.4
Published
Babel presets for Stoplight
Downloads
11
Readme
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.