Hi. I still don't get how to generate a .js file t...
# javascript
c
Hi. I still don't get how to generate a .js file to include in a web page using basic <script> tags. Some web pages talk about a browserProductionWebpack gradle task, but I don't see it in my kotlin js project. I am not using node.js on the server side, and not willing to. I'm just stuck on the very simple task of getting my kotlin code compiled into a .js file, and I don't seem to find any relevant resource online, which I find quite frightening...
r
Make sure you've got
binaries.executable()
in your
build.gradle.kts
(https://kotlinlang.org/docs/js-project-setup.html#execution-environments).
t
c
Ok, thank you.