fkrauthan
04/01/2020, 12:39 AMkotlin2js
plugin I was able to set the output Javascript filename with the following snippet in my build.gradle.kts
: setProperty("archivesBaseName", "main")
but in the new js plugin this just renames the single file in distributions
but not the output in the DCE output directory. There the main source code file is still called ${rootProject.name}-${project.name}.js
is there any way to have the file that is placed in the DCE output folder to be called main.js
instead?turansky
04/01/2020, 1:02 AMmain.js
filename in DCE folder?fkrauthan
04/01/2020, 1:12 AMmain.js
turansky
04/01/2020, 1:58 AMdistributions
dir is what you need
Since Kotlin 1.3.70
DCE results used for distribution by defaultfkrauthan
04/01/2020, 2:04 AMturansky
04/01/2020, 2:57 AM// webpack.config.d/rules.js
config.externals = [
/^kotlin$/i,
]
Only kotlin
must be external?