gulp-useref
gulp-useref copied to clipboard
Parse build blocks in HTML files to replace references to non-optimized scripts or stylesheets.
Hi. There. At first, thanks for the awesome library. However, i got trouble to migrate from John Papa version 2 to version 3. I think i am not understanding 'searchPath'....
Hi! I'm using this plugin in conjunction with gulp-sass, gulp-rev and gulp-rev-replace. And today I'm storing the generated CSS file in a temp folder. It's the only way I found...
From reading code example, it is using lazypipe as transformStream, but lazypipe can only attach error listener after it is initialized. So I guess there is no way to capture...
I am using gulp useref to replace my files in my index.html after I minify them. I can get useref to work when I pass a path, but I would...
Has anyone used the noconcat option to modify the stream contents, and then successfully concatenated back into the correctly named files (for multiple blocks) ? I want to modify a...
First of all, thank you to have inserted the new option ( https://github.com/jonkemp/gulp-useref/issues/141#issuecomment-154697616 ). The issue is simple, this new option only supports paths relative to the script location. Useref...
OS X El [email protected] [email protected] [email protected] (For versions info, see this [package.json](https://github.com/medifle/useref-workflow-sample/blob/master/package.json)) ## TL;DR I am considering managing all my assets through HTML build blocks. gulp-useref is ideal, taking assets...
``` ``` It works without inject:xx but not with here's my code gulp.task('optimize', ['inject'], function () { ``` var assets = $.useref.assets({ searchPath: './' }); var templateCache = config.temp +...
Following your documented sample, if the ``s are compressed in the same line: ```html ``` It processes only the first file: it does not work!