if I’m using Kotlin/JS (1.9.0-RC) to create a site and I’ve got an
index.html
that includes my project’s .js file, is it expected that I have to manually define all dependencies, otherwise I get an error?
This is the error I get in the browser console when I run
./gradlew jsBrowserRun
and open
localhost:8080
Copy code
Uncaught Error: Error loading module 'my-cool-site'. Its dependency 'kotlinx-html' was not found. Please, check whether 'kotlinx-html' is loaded prior to 'my-cool-site'.
I have to fix it by manually including all dependencies with script tags