gulp-useref
gulp-useref copied to clipboard
Parse build blocks in HTML files to replace references to non-optimized scripts or stylesheets.
I have a idea such as for example: My index Documents if i have multiplage, and i just want to write the filepath in such format `css/combo{+new` Date()}.css`, any clues?
Is there a way to insert "defer" or "async" to a script tag?
In developing mode, i want the source code not to be concated, but vender(like under `bower_components` folder's libraries) should also to be concated. In #76 it shows how to use...
In my CSS path I have 'spaces'. Useref doesn't respect it. Input: ``` ``` Output: ``` ``` It breaks the reference. Any solution?
Should export parameter about file info to can loop files in assets (cache busting, format files, ...)
Given the below code, which I've simplified to make more readable: ``` js gulp.task('build', function() { var templateStream = gulp.src('src/**/!(index).html') .pipe(processTemplates()) // lazypipe that just calls gulp-angular-templatecache. return gulp.src('src/index.html') .pipe(addTemplateToIndex())...
When using jade **useref** reads all the compiled .html files instead of only reading the layout template. And because of that compile time takes too long (~30min). I've ended up...
If you use the additionalStreams option, gulp-useref may not stream through all of the assets. This is a timing dependent bug.
I'm not sure if this is bug-worthy or not, but it took me forever to find out why all my image files were getting borked; it turns out it was...
I spend the last 2 hours looking for how to use the gulp-rev-replace in gulp-useref@3. I found that the issue #131 has a comment with a link to this page...