#KotlinJS_Gradle in Kotlin frontend plugin we had ...
# javascript
b
#KotlinJS_Gradle in Kotlin frontend plugin we had this to configure the dev server but how to configure it now using kotlinJs gradle plugin ?
Copy code
kotlinFrontend {
    webpackBundle {
        bundleName = "main"
        sourceMapEnabled = true | false   // enable/disable source maps 
        contentPath = file(...) // a file that represents a directory to be served by dev server)
        publicPath = "/"  // web prefix
        host = "localhost" // dev server host
        port = 8088   // dev server port
        proxyUrl = "" | "http://...."  // URL to be proxied, useful to proxy backend webserver
        stats = "errors-only"  // log level
    }
}
r
You can use *.js files in
webpack.config.d