ionic tutorial - By using gulp-babel and gulp-plumber in Ionicframework - ionic framework - ionic 2 - ionic creator - ionic development
Ionic uses Gulp, so install gulp-babel and gulp-plumber.
Add babel to gulpfile.js like so:
Edit ionic.project:
Now when you run ionic serve, code will be transpiled for you.