kartik1712
10/22/2020, 3:57 PM.js
files ? So that I can include those file from in html files like <script src="/static/kotlin.js"></script>
rnett
10/22/2020, 4:40 PMbrowser { binaries.executable() }
and outputFileName = "yourname.js"
on the jsBrowserProductionWebpack
task to set the name.Big Chungus
10/22/2020, 5:25 PMkotlin {
js {
moduleName = "main"
browser {
webpackTask {
outputFileName = "$moduleName.js"
}
runTask {
outputFileName = "$moduleName.js"
}
}
}
}
Big Chungus
10/22/2020, 5:26 PM