0.3.4 • Published 6 years ago
babel-preset-stoplight v0.3.4
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.