quiro
05/15/2024, 2:38 PM/
in it? I would like my define in my build.gradle.kts:
js(IR) {
moduleName = "@company/library"
nodejs()
binaries.library()
generateTypeScriptDefinitions()
}
What I noticed though is that this affects the generated code. Tests fail to run if I use @company/library
, as I can see that the generated js code is stored in /build/compileSync/js/test/testDevelopmentExecutable/kotlin/@company/library.js
. Instead, tests work if I set the name to be library
, and the library.js
file is generated at /build/compileSync/js/test/testDevelopmentExecutable/kotlin/library.js
. Is this expected?Artem Kobzar
05/15/2024, 3:14 PMprashan
05/15/2024, 9:11 PMlibrary
)quiro
05/24/2024, 2:39 PM