jw
03/03/2020, 4:23 AMturansky
03/03/2020, 7:19 AMwebpack.config.d
folder + following script
config.mode = 'production'
turansky
03/03/2020, 7:21 AMIlya Goncharov [JB]
03/03/2020, 8:21 AMimport org.jetbrains.kotlin.gradle.targets.js.webpack.KotlinWebpackConfig.Mode
...
kotlin {
target {
webpackTask {
mode = Mode.DEVELOPMENT
}
}
}
Before 1.3.70 you need set it via webpack.config.d
and create js script with content
config.mode = 'production`
as @turansky saidjw
03/03/2020, 4:26 PMturansky
03/03/2020, 4:29 PMlibrary
plugin
https://github.com/turansky/kfc-plugins#library