I’m trying to solve the import problem in Kotlin/JS for browser project.
So, I have previously created. JAR file with only one function (I’ve created jar file, inside this lib are two files, .js and meta.js files )
I’m trying to import this .jar lib in my project over File->Project Structure->Libraries… and after that, for a specific module I’ve added dependency on that .jar file.
in main.kt file I added myName() function from lib I tried to build project.
An error I’ve got is “unresolved reference: myName”.
I am using the latest version on community IntelliJ IDEA 2020.1.1.