https://kotlinlang.org logo
#javascript
Title
# javascript
a

ankushg

08/20/2018, 7:34 PM
Hey friends! I'm working on a multiplatform library written in Kotlin, and am hoping to identify ways to make the total JS size as small as possible prior to uglifying/gzipping. I'm already using DCE, but it looks like there's a decent amount of the Kotlin/JS Standard Library that isn't getting stripped out, even though I'm not explicitly using the methods themselves. Does anyone know of a resource that with tips for this, potentially including stuff like deceptively heavy-duty std lib classes/functions to avoid? Is there a way to work backwards to determine what DCE is keeping from the Standard Lib and why? Something similar to the Android's APK Analyzer would be magical.