Hello, kotlin-frontend-plugin generates package.js...
# javascript
i
Hello, kotlin-frontend-plugin generates package.json with 'kotlin' dependency If Kotlin/JS is used for distibuting js library (kotlin is bundled) and consumers depend on this library, they should install 'kotlin' dependency. But why is it necessary, if it was bundled? And where can they take 'kotlin' dependency from?
Ok, seems like 'kotlin' dependency comes from npm registry (https://www.npmjs.com/package/kotlin) But actual question is: if kotlin frontend plugin is used for bundling (with kotlin dependency) and generating package.json, why is it necessary to force consumers to install 'kotlin' dependency?