Ola Adolfsson
11/21/2020, 7:44 PMOla Adolfsson
02/16/2021, 8:53 PMArtyom Degtyarev [JB]
02/17/2021, 6:24 AMIvan Kubyshkin [JetBrains]
02/17/2021, 7:43 AMIlya Goncharov [JB]
02/17/2021, 8:05 AMpublicPackageJson
task for create package.json
without Kotlin dependencies, but only with external NPM dependencies
The problem with using Kotlin modules as NPM independent modules is that in process of installing dependencies with NPM, you can get multiple versions of Kotlin modules, and all of them will be accessible in runtime. It leads to problems with class casts and type checks.
The main idea, that all Kotlin modules can be bundled together (via webpack for example) and then with publicPackageJson
can be published into NPMOla Adolfsson
02/17/2021, 7:55 PMOla Adolfsson
02/17/2021, 8:16 PMOla Adolfsson
02/19/2021, 10:45 AM