elrond-sdk-erdjs
elrond-sdk-erdjs copied to clipboard
fix browser minified output file
There is a problem with minified erdjs for the browser. For the demo from here:
https://gist.github.com/juliancwirko/f31aab85d735d7b86162de4c4da33b1f
When I use erdjs.min.js
instead of erdjs.js
, I will get the error. See attached image.
After using terser instead of tinyify seems to work well, the compression level is a little bit better, and I think terser is a lot faster.
I've tried to run the browser tests. Some of them fail, but the same is on the development branch.