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

Remove dependency on file-system ordering #132

Closed fhackenberger closed 8 years ago

fhackenberger commented 8 years ago

gulp-useref seems to depend on the file-system ordering of the files to determine the order they are included in. This is a problem on Linux, as filesystems do not guarantee a specific order (see 'ls -U' output). I can't see a way how I would make something like 'build:js(src) scripts/app.js' work, when some files need to be included before others. If useref would sort the files by name, I could simply rename them appropriately.

fhackenberger commented 8 years ago

Sorry, mixed this up with inject