So I’ve got libcommon -> libjs -> WebApp (import of lib via composite build) and the moment I use kotlin code from libjs I get the following error:
_____
Uncaught Error: Cannot find module ‘js’
at webpackMissingModule (app.js:25)
at eval (app.js:25)
at Object../app.js (main.bundle.js:1120)
at __webpack_require__ (main.bundle.js:722)
at fn (main.bundle.js:99)
at eval (client:3)
at Object.0 (main.bundle.js:1131)
at __webpack_require__ (main.bundle.js:722)
at main.bundle.js:789
at main.bundle.js:792
_____
So what did I do wrong in here? I can’t have the JS implementation separated from my WebApp maybe?