Joost Klitsie
01/11/2022, 8:51 AMBig Chungus
01/11/2022, 9:49 AMsdeleuze
01/11/2022, 10:01 AMBig Chungus
01/11/2022, 10:06 AMsdeleuze
01/11/2022, 12:45 PM.js file generated for their samples/sandbox with ./gradlew jsBrowserDistribution are respectively 1.5M and 1.7M. Typical website will not use all the components but will provide their own logic so maybe that's not a so bad estimation of the footprint of a typical app/website.
Is there some lazy module loading capabilities I could enable to have a lower initial download/parsing size?Big Chungus
01/11/2022, 12:46 PMkmdc vs kmdc-button + kmdc-textfield)Big Chungus
01/11/2022, 12:47 PMsdeleuze
01/11/2022, 12:48 PMBrian Guertin
01/11/2022, 3:41 PMMrPowerGamerBR
01/11/2022, 4:22 PM-Xir-per-module and -Xir-property-lazy-initialization flags to your project? They help decreasing the bundle size (they don't do miracles, but every Kb you can shave off your project is always nice 🙂, on my simple project with Ktor + Compose + kotlinx.serialization they removed 0.43MiB from my project's bundle size)
https://youtrack.jetbrains.com/issue/KTOR-1084Brian Guertin
01/11/2022, 6:09 PMJoost Klitsie
01/11/2022, 9:19 PM