Does anyone have any idea what this is trying to t...
# javascript
m
Does anyone have any idea what this is trying to tell me? Why is it loading source maps?
But I haven't encountered such issue myself.
m
Thanks, will have a look
I don’t understand why it’s creating source maps in the first place 🤔
r
I think this option is only used for webpack configuration. It doesn't seem to affect source maps generation by the compiler.
I have no idea if source maps generation can be somehow disabled.
m
Was caused by dynamic imports used in the project through an inline function. With Kotlin 1.6.20 a non-inline version of this function was emitted to the output. That made Webpack prepare wildcard imports on
kotlin_genki_web_*
including those
.js.map
files. Adding
reified
fixes this 🙄
t
I have no idea if source maps generation can be somehow disabled.
It can be disabled
It was disabled by default in my projects and I don’t have such problems
r
Wish it had more effect on IR performance ...