babel-preset-es2020
Babel preset for a subset of ES6, because in hindsight we can do without most of it
Install
$ npm install --save-dev babel-preset-es2020
Usage
.babelrc
(Recommended)
Via .babelrc
Via CLI
$ babel script.js --presets es2020
Via Node API
See Also
- es2020 - browserify transform for a subset of ES6