When I run the my task it says files are injected to index.html in the console; but there is no js files injected in the index.html file actually.
my task functions is as follow
gulp.task('testing', function() {
gulp.src('../dist/app/index.html')
.pipe(debug())
.pipe(inject(gulp.src('../dist/app/js/*.js', {read: false}), {relative: true}))
.pipe(debug())
.pipe(gulp.dest('../dist/app/js'));
});
I am using gulp3.9.1 and gulp-inject version 3.0.0, any help is advance appreciated.
gulp.src(['../dist/app/js/*.js'],... (I'm not sure, but this is easy to try.)