This package has been deprecated
This presets is under review
A Babel preset that extends
ES2015preset and adds features like
Flow types. Optimal reconfigured babel settings. Includes optional compatibility presets for targeting different environment.
Install via NPM:
$ npm install -D babel-preset-yw
.babelrc file in your project root, and include 'yw' in your "presets" path:
$ babel script.js --presets yw
Via Node API
If you don't want to use a project-wide
.babelrc file (as above):
Webpack, Gulp, Browserify, etc
Follow vendor instructions and include
yw in your babel "presets" list.