I have a strange (inconsistent) behaviour in intel...
# javascript
g
I have a strange (inconsistent) behaviour in intellij idea on kotlin.js project. 1. create a kotlin.js project 2. create a Main.kt file:
Copy code
fun main(){
    println("Hello kotlin")
}
3. create a Main.html file:
Copy code
<head>
    <meta charset="UTF-8">
    <script src="lib/kotlin.js"></script>
    <script src="debugjs.js"></script>
</head>
<body>
<script>
    debugjs.main();
</script>
4. compile 5. right clic on Main.html in src directory an _Run_: not working 6. change compiler output from Inherit project compile output path to Use module compile output path 7. compile 8. right clic on Main.html in src directory and _Run_: working