I updated my Kotlin/JS project to kotlin 1.4.20 an...
# javascript
y
I updated my Kotlin/JS project to kotlin 1.4.20 and used the new
commonWebpackConfig
syntax
Copy code
kotlin {
    js(IR) {
        browser {
            binaries.executable()
            commonWebpackConfig {
                outputFileName = "re-quickstart-${project.version}.js"
                cssSupport.enabled = true
            }
        }
    }
}
I don't know if it is related but I am getting an error:
Copy code
Execution failed for task ':browserProductionWebpack'.
> Unable to store input properties for task ':browserProductionWebpack'. Property 'webpackConfigAppliers' with value '[org.jetbrains.kotlin.gradle.targets.js.webpack.KotlinWebpackConfig.() -> kotlin.Unit]' cannot be serialized.
b
cc @Ilya Goncharov [JB]
i
Thanks you, I have submitted the bug https://youtrack.jetbrains.com/issue/KT-43535