gulp-babel
Automatic translation of ES6 to ES2015 using gulp
Installed packages
npm install --save-dev gulp-babel babel-core babel-preset-env
Next, the dependencies from the package. ... ch('app/*.html', browserSync.reload);
gulp.watch('app/js/*.js', browserSync.reload);
});
And the structure of the project