trustlines-protocol / clientlib

Typescript/Javascript library of the trustlines network protocol
MIT License
10 stars 7 forks source link

Optimize webpack bundle #192

Open dohaki opened 5 years ago

dohaki commented 5 years ago

Besides creating a commonjs and esmodule with tsc, we also create a bundle using webpack. Problem is that the bundle size is 1.61 MB and has to be reduced.

cducrest commented 4 years ago

Maybe reduce the size of contracts.json by filtering the contracts that end up in it. That could solve it, but check if maybe also ether.js is too big ...

cducrest commented 3 years ago

Maybe check if ethers is too big and newer versions are smaller?