Next question: I have custom gradles task that mov...
# javascript
h
Next question: I have custom gradles task that move and copy some files so that I get one single output file from transpilation and can then easily pack it in and out of a webjar. Now, I'd like to use the DCE tool on the resulting file, but cannot see how I tell the DCE tool to find the target
.js
file to work on. Is there a complete list of settings and configurations for the DCE tool somewhere? I find the references and examples on kotlinlang.org to be scarce ...
Found out myself. Seems the DCE tool found my sources and actually did eliminate dead code, but the resulting files weren't where the website says. According to kotlinlang.org, the DCE output should be in
$BUILD_DIR/min/
, but actually, I found it in
$BUILD_DIR/kotlin-js-min/
.