-
-
Notifications
You must be signed in to change notification settings - Fork 158
Conversation
@tomcraven Thx in advance 😛 Could you elaborate on this futher please, is this happypack specific or a general issue ? If in general I will include this fix in #70 or you rebase the PR after #70 lands |
hey @michael-ciniawsky thanks for the reply. The issue we were seeing is as follows:
So the issue seems specific to the happypack/url-loader interaction but, as with any untyped language, it would be great to be reactive to this way of passing in the SVG data |
base64
encoded
@tomcraven Could you please give a small code example just to clearify this definitely belongs here |
base64
encodedString
not being base64
encoded
hey @michael-ciniawsky, no problem. A little tricky to provide a code example that's small and also includes all the happypack/svg interaction. Here's a code example of what happens to the base64 encoding if the content is passed in as a string:
No base 64 conversion happens on |
@tomcraven Could you please quickly rebase ? :) |
hmm, that was my attempt at a rebase, let me know if you needed something else doing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tomcraven Thx
Bugfix for strings not being base64 encoded. The specific issue is to do with happypack passing SVGs as strings instead of Buffers causes them to not be encoded properly.