Open mahnunchik opened 2 years ago
How did you perform the minimization?
@johnrichardrinehart I perform the minimization by monkey patch: https://github.com/CoinSpace/cs-cardano-wallet/blob/master/webpack.config.js
I was confused because this webpack
didn't seem to do anything with your index.js
, but I understand, now. webpack
is only being used with some Terser
/minification webpack
modules/pipes to shrink the Cardano serialization library WASM for your import: https://github.com/CoinSpace/cs-cardano-wallet/blob/8e896d9e0422e33cd9a36390f8929f3575ce97eb/index.js#L230-L244 . Totally makes sense.
Thanks a lot! I've starred :smile: .
Yes, it is correct 😉
It would be helpful to have
@emurgo/cardano-serialization-lib-asmjs
package be minimized by default.cardano_serialization_lib.asm.js
: 17.4 Mb