elrond-sdk-erdjs icon indicating copy to clipboard operation
elrond-sdk-erdjs copied to clipboard

fix browser minified output file

Open juliancwirko opened this issue 2 years ago • 2 comments

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.

bug

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.

juliancwirko avatar Dec 16 '21 23:12 juliancwirko