In Kotlin/JS, how does the index.html get generate...
# gradle
r
In Kotlin/JS, how does the index.html get generated? Where can I find this in the kotlin gradle source code?
b
It normally isn't generated, but rather written manually and placed in resources. You CAN generate it dynamically with korlinx.html if you're serving the contents from kotlin jvm server.
r
But it gets generated when using the intellij's kotlinjs browser template setup.
b
It's a one time action, not build time. Someone has pre-written that html file in some template. That's all.
r
Ohh. I found it. Its here in the resources folder. Thanks.