Hi, guys. The task `:app:web:jsBrowserProductionWe...
# compose-web
s
Hi, guys. The task
:app:web:jsBrowserProductionWebpack
is particularly time consuming in my project: https://github.com/qdsfdhvh/compose-imageloader/blob/1.2.8/app/web/build.gradle.kts, how can I optimize this piece. build scan: https://scans.gradle.com/s/nyuvglstexjea/timeline?toggled=WyIwIl0&view=by-type
h
The kotlin js gradle plugin compiles the kotlin code to (normal) js and then runs the webpack plugin with this js code and your resources. While this duration is strange, I would check it first by running webpack by yourself to see if this a webpack bug. Maybe it is possible to get statistics from webpack?
and why do you overwrite the webpack versions and don't use the defined ones?
s
The webpack version was configured a long time ago, I tried to remove it and use the default version but it took the same amount of time.