Hello How can I configure Kotlin/JS so that in `webpack.config.js` I will be able to set custom fil...
r
Hello How can I configure Kotlin/JS so that in
webpack.config.js
I will be able to set custom file name (instead of webApp.js)
b
You can inject webpack configs via webpack.config.d. here's an example https://github.com/mpetuska/kamp/tree/feature%2Fcompose/app%2Fclient%2Fwebpack.config.d
r
Yes, I just found the
outputFileName
in dsl Thanks @Big Chungus
Also one more question
how does the
webpack.config.d
configure the generated webpack.config.js
Like do we have to setup this folder
webpack.config.d
in
build.gradle.kts
?
b
All js files in there are copied at the bottom of generated config file
No
r
Ok got it, understood that was helpful
👍 1