babel-preset-angular2
v0.0.2
Published
Babel preset for angular2
Downloads
982
Maintainers
Readme
babel-preset-angular2
A Babel preset for angular2.
This preset includes the following plugins:
- babel-plugin-angular2-annotations
- babel-plugin-transform-decorators-legacy
- babel-plugin-transform-class-properties
- babel-plugin-transform-flow-strip-types
Installation
npm install -D babel-preset-angular2 babel-preset-2015
Usage
Add the following line to your .babelrc
file:
{
"presets": ["es2015", "angular2"]
}