Vampire
08/19/2020, 12:36 AMcompileProductionExecutableKotlinJs
and compileDevelopmentExecutableKotlinJs
?
According to their outputFile
property they both write to <project dir>/build/js/packages/<project>/kotlin/<project>.js
which per-se is maybe not the best idea already.
But what is the difference, I can find neither in the docs.andylamax
08/19/2020, 2:09 AMcompileDevelopmentExecutableKotlinJs
spits unminified
js (which is executes fast)
compileProductionExecutableKotlinJs
spits out minified
js (which is executes slower but yields much smaller files for production)Vampire
08/19/2020, 2:33 AMturansky
08/19/2020, 8:19 AMproduction
or development
) can be active at the momentVampire
08/19/2020, 8:34 AMIlya Goncharov [JB]
08/19/2020, 9:01 AMproduction
is with enabled DCEVampire
08/19/2020, 9:02 AMIlya Goncharov [JB]
08/19/2020, 9:05 AMIt’s not similar, it is identical, isn’t it?Yes, until it will be changed separately for one of tasks
Btw. maybe would make sense to have that in the docs (the difference) 🙂cc @Sebastian Aigner