Gulpfile.js

hey guys,
can anyone help me guide how can i add a task for var embedTemplates = require('gulp-angular-embed-templates'); to the gulpfile.js?

Thanks in advance.

It’s documented https://github.com/laxa1986/gulp-angular-embed-templates

i have tried this from the documentation,

gulp.task('js:build', function () {
    gulp.src('path/scripts/**/*.ts') // also can use *.js files
        .pipe(embedTemplates({sourceType:'ts'}))
        .pipe(gulp.dest('./path'));
});```

But the end result, it puts the ts files in the build and they are `not` bundled.