Yet another babel preset.
-
Support a target option
"node": "current"
to compile for the currently running node version. -
Support a browsers option like autoprefixer. Use Browserslist.
e.g.
["@babel/preset-scc", {
"targets": {
"browsers": ['last 2 versions']
}
}]
or
["umi", {
"targets": {
"node": "8"
}
}]
boolean, defaults to
false`.
boolean, defaults to
false`.
boolean, defaults to
false`.
Outputs the targets/plugins used and the version specified in plugin data version to console.log.
"usage"
| "entry"
| false
, defaults to false
.
A way to apply @babel/preset-env for polyfills (via @babel/polyfill).
boolean, defaults to
false`.
(c) 2018 Sequoia Capital.