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

opts.searchPath doesn't work as documented #143

Closed callumlocke closed 8 years ago

callumlocke commented 8 years ago

The readme says that opts.searchPath can be an array.

But when I supply it as an array, this line throws an error (because path.resolve doesn't accept arrays as arguments).

jonkemp commented 8 years ago

Are you using version 2.0?

callumlocke commented 8 years ago

Yes

jonkemp commented 8 years ago

Thanks for letting me know!

callumlocke commented 8 years ago

thanks for the quick fix!