goku
01/31/2023, 9:54 PMkotlin-stdlib
? I have a KMM project for JVM, iOS, and JS. And I need to reduce the size of the JS package.turansky
01/31/2023, 10:21 PMgoku
01/31/2023, 10:32 PMturansky
01/31/2023, 10:40 PMgoku
01/31/2023, 11:01 PMAdam S
01/31/2023, 11:35 PMgoku
01/31/2023, 11:58 PMVampire
02/01/2023, 12:19 AMAdam S
02/01/2023, 12:47 AMkotlin.stdlib.default.dependency=false
goku
02/01/2023, 12:56 AMjessewilson
02/13/2023, 9:38 AMgoku
02/13/2023, 9:46 AM227KB
, and 40KB
after compressing. I removed kolinx.serialization,json
and used JSON.parser. I didn’t remove the List/Map/RegEx but at that point, we just decided to rewrite it in Javascript. Either way we have two different implementations.
KMM would be really handy for an internal tool but for a product we ship where the size important, it made more sense to rewrite it in JS.