Can anyone help me to understand the Kotlin JS plu...
# javascript
h
Can anyone help me to understand the Kotlin JS plugin? I understand it installs NPM and uses yarn to download dependencies. Are there any local caches generated as part of the build? If so, where are they, or is there a gradle job that cleans these? The reason for asking is that my node_modules ends up with a corrupted dependency (@icons/material) and I'm guessing it's coming from a local cache but gradle clean isn't fixing it and that's all I can guess.
r
On linux there is
~/.cache/yarn/v6/
h
I'm on OSX but that's good to know. I assume there's something similar
Aha - looks like it's under ~/Library/Caches/Yarn, so just the default location. It might be nice if there was a gradle task that cleaned this up, but it's been a good learning exercise anyway