jonkemp / gulp-useref

Parse build blocks in HTML files to replace references to non-optimized scripts or stylesheets.
MIT License
705 stars 93 forks source link

build:css and build:js not working #165

Closed boyfunky closed 8 years ago

boyfunky commented 8 years ago

I am trying to concatenate my js and css files but it is not working

my gulpfile.js

gulp.task('useref', function (done) { gulp.src('./www/templates/*/.html') .pipe(useref()) .pipe(gulp.dest('./www/dist')) .on('end', done); });

my index.html

``` ```

why doesnt it create the new file styles.css and app.js in the respective folders?

jonkemp commented 8 years ago

Can you post the output here? Also, can you try using gulp-debug?

boyfunky commented 8 years ago

@jonkemp sorry found out wht my issue was nd solved it. I missed some steps tht was causin the error.

evilgeniuscreative commented 8 years ago

@boyfunky Please tell us what the steps were that you missed in case someone else has this issue?

ghost commented 7 years ago

I have the same error can you please tell me what you did?

levyadams commented 6 years ago

Hey thanks for telling us what your issue was so other people could maybe use this as a resource! Nice work bro!