Hey all, we have a large project which we use KM o...
# javascript
d
Hey all, we have a large project which we use KM on iOS and Android and are planning on going with JS as well but at the moment the smallest output file I can get while exporting as a plain single file module is 17mb. When gzipped it's 3mb which is still on the large size.. is 17mb in the realm of how large the binary should be?
t
Do you use file from
distributions
folder?
17 MB - looks like non-optimized development distribution
e
17 MB seems way too big. Something wrong for sure, or your project is massive
d
Im using the file from
/build/dist/js/productionExecutable/<name>/js
. is that not correct? @turansky
the file in
compileSync
is 33Mb.
t
You can generate Webpack report to check source of problem
d
How can I run that?
t
1. Add dependency 2. Add JS script in
webpack.config.d
with following content
d
Fantastic, I'll give this a go today. Where should I see the analysis output?
t
Plugin will open report in default browser