Kotlin gradle js plugin: ability to persist / reuse yarn.lock

Hi,

Currently when using koltin js gradle plugin:

plugins {
  kotlin("js") version "1.3.50"
}

yarn.lock file is being placed in build/js directory and thus recreated each time npm dependencies installed.

Typically yarn.lock should be persisted(committed) in order to lock dependency tree. Are there any options to persist it?

Hello,
Thank you for your feedback!
Currently unforunatelly there is no standard possibility to persist or reuse yarn.lock
I created issue on this problem
https://youtrack.jetbrains.com/issue/KT-34014