https://kotlinlang.org logo
s

Shannon Rhodes

01/27/2021, 5:20 PM
I'm building an app using Kotlin Multiplatform. The core is written in Kotlin. I have a JSApp within the project that I'm trying to run on the browser. I am not using intelliJ. I've been specifying my gradle builds this way:
Copy code
js {
        moduleName = "PlayerCreationCore"
        browser {}
        binaries.executable()
        useCommonJs()
    }
The JsApp has its own folder structure. JsApp/index.html, JsApp/index.js, JsApp/package.json. Do I need to setup webpack manually in that folder? I thought gradle would deploy the dev server when run.
2