I'm trying to use coroutines in JS, but I'm gettin...
# javascript
s
I'm trying to use coroutines in JS, but I'm getting an error:
Cannot find module "kotlinx-coroutines-core-js"
. How should I be packaging the coroutine library (or any library written in kotlin for that matter)? My instinct was to check npm, but didn't find anything. If I use the DCE plugin, it outputs all the JS files in one place which is nice, but how do I get the non-minified js files for kotlin-js libraries I'm using? Right now, the only thing I can think of is to check out the github.
After some fiddling, it appears I can use the DCE plugin in dev mode to achieve what I want / need. Is this really what I'm supposed to be doing though?
a
That's the simplest solution by far.