cardano-serialization-lib
                                
                                 cardano-serialization-lib copied to clipboard
                                
                                    cardano-serialization-lib copied to clipboard
                            
                            
                            
                        Minify ASM package
It would be helpful to have @emurgo/cardano-serialization-lib-asmjs package be minimized by default.
- Current size of cardano_serialization_lib.asm.js: 17.4 Mb
- Minimized size: 4.52 Mb
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 😉