how to use `browserWebpack` corretly? i realised t...
# javascript
t
how to use
browserWebpack
corretly? i realised the bundled js file e.g. does not contain the kotlin.js dependency... is adding
implementation(npm("kotlin", "${extra["kotlin_version"]}"))
the correct way to reach this? I cannot try that because then it says "Cannot find kotlin@1.3.61 in yarn.lock". What am i missing?
r
the bundle should contain everything, including kotlin.js
t
well it has a size of only a few kb... i don;t think that's enough for the stdlib 😄
i was using
moduleKinnd = "plain"
that seems to be the problem. it works with umd and commonjs