Contactlab Frontend Team official (extendible) Babel configuration.
$ npm install -D @contactlab/babelrc
# or
$ yarn add -D @contactlab/babelrc
In package.json:
{
"babel": {
"extends": "@contactlab/babelrc",
"presets": ["..."],
"plugins": ["..."]
}
}
or in .babelrc:
{
"extends": "@contactlab/babelrc",
"presets": ["..."],
"plugins": ["..."]
}
extends
option in Babel CLI / .babelrc.
Released under the Apache 2.0 license.