I\'m getting below error running this command
gulp.task(\'minify\', function () { return gulp .src(\'public/app/js/myapp.bundle.js\') .pipe(u
If you run into this problem and you have in fact a transpiler step like Babel, make sure that you include the proper Babel preset in you .babelrc file. Otherwise Babel will simply leave your code as is.
.babelrc
E.g.
{ "presets": ["es2015"] }