I have a problem with gulp-useref. I have the next task.
gulp.task('compre', ['inject'], function () {
return gulp.src('index.html', {cwd: '/app'})
.pipe(useref())
.pipe(gulp.dest('dist'));
});
I run inject without problem but useref
does not generate the file in dist
, nor does it give me an error. I have seen several examples on the web and they do the same, which can be ??