When building project (wasmJsBrowserDistribution) ...
# webassembly
p
When building project (wasmJsBrowserDistribution) got three files: two with wasm extension (skiko and app) and one is with js extension. As i understand js file is used just to load wasm files. But i wonder why it is so heavy (2.84 mb)? Is it possible to reduce it? Using Kotlin 2.2.20-RC P.S. also noticed that it is not obfuscated and contains embedded source map.
⬆️ 1
r
I don't think it should be this way. The js file is minimized in my project (I have source maps disabled).
p
For minimization there is an issue https://youtrack.jetbrains.com/issue/KT-80287
r
I can't reproduce with my project. It seems I'm lucky 🙂