Jérôme Gully
10/14/2021, 12:20 PMjs(IR) {
browser {
commonWebpackConfig {
cssSupport.enabled = true
}
binaries.executable()
}
}andylamax
10/14/2021, 12:48 PMbinaries.executable() to binary.library() and run the task compileProductionLibraryKotlinJs or just buildGrégory Lureau
10/15/2021, 7:25 AMbinaries.executable() + ./gradlew jsBrowserDistribution jsPublicPackageJson, I didn't even know about binary.library() . But then we need to copy the package.json from build/tmp/jsPublicPackageJson/package.json and then from the directory build/js/packages/@... we use npm publish. Hope it helpsJérôme Gully
10/15/2021, 9:50 AMjsBrowserDistributionandylamax
10/15/2021, 9:50 AMbinary.executable() for libraries. binaries.libraries() together with https://github.com/mpetuska/npm-publish is all you needGrégory Lureau
10/15/2021, 12:32 PM