babel-preset-buildo
v0.1.1
Published
Babel configuration used at buildo.
Downloads
802
Keywords
Readme
babel-preset-buildo
A babel preset that groups babel plugins and presets used at buildo.
Installation
npm install --save-dev babel-preset-buildo
Usage
{
"presets": ["buildo"]
}
Options
The preset accepts options:
{
"presets": [
["buildo", {
"env": "react",
"targets": {
"chrome": 52,
"node": 4
}
}]
]
}
env
: Available environments are react
and node
. The default is node
.
The other options should be babel-preset-env
's options.