gulp-base64
gulp-base64 copied to clipboard
Error message not shown when file too large
Hi,
Some of my fonts weren't embedding, despite the logs printed out from debug=true saying they were being encoded. When I set the maxImageSize to Infinity, the fonts were embedded. There were no logs or error messages printed explaining why the fonts were not being embedded, which would be a helpful thing.
It would also be nice to mention the default maxImageSize in the documentation.
Thanks!
:+1: After noticing in the docs that no default for maxImageSize was set I wasn't expecting that my large font file be excluded. And agree this should be in the debug logs as I checked these first.
Thanks.