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

gulp-useref only works with CLRF line endings #258

Open markushausammann opened 5 years ago

markushausammann commented 5 years ago

It should also work with LF endings.

jonkemp commented 5 years ago

It does.

markushausammann commented 5 years ago

Not in my experience.

jonkemp commented 5 years ago

It appears we are at an impasse then, unless you provide more information. Maybe you will find this helpful:

https://github.com/jonkemp/gulp-useref/blob/master/CONTRIBUTING.md#bug-reports

markushausammann commented 5 years ago

It has been reported before: https://github.com/jonkemp/gulp-useref/issues/130

The current case I'm experiencing is the following:

This clearly demonstrates that (under certain circumstances?) gulp-useref doesn't work with LF line endings but works with CLRF line endings.