gulp-useref does not copy the files

1

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 ??

    
asked by Cristian 22.07.2016 в 01:57
source

0 answers