This patch adds the browser version of utf8.browser.js to the browser field. Without this I get:
Uncaught TypeError: util_1.TextDecoder is not a constructor
when I try to use the module from budo/browserify because the util browser module does not yet have Text{Encode,Decode} like node's version, although the environment does.
This patch adds the browser version of utf8.browser.js to the browser field. Without this I get:
when I try to use the module from budo/browserify because the
util
browser module does not yet haveText{Encode,Decode}
like node's version, although the environment does.