mathisonian/gulp-sri

Binary files are not handled properly

whscullin opened this issue · 2 comments

This library calls .toString() on all resources. If the resources is a binary file, like a PNG or font, Bad Things Happen, and the browser will disagree with the calculated hash.

Thanks @whscullin, apologies that I missed your PR - I've released v0.3.1 on npm

Awesome. Thanks!