Felix
06/20/2023, 11:29 AMmjs
) and the extension used on the package.json
file.
Some more info:
js(IR) {
...
useEsModules()
...
}
After running the jsBrowserDistribution
task I get a build/js/packages/<module-name>
folder.
It contains a package.json
with `"main"*:* "kotlin/<module-name>.js"`*, however the file in the kotlin
folder is ``<module-name>.mjs`* (i.e. mjs
and not js
).turansky
06/20/2023, 1:03 PM1.8.20
turansky
06/20/2023, 1:03 PMFelix
06/20/2023, 1:03 PMturansky
06/20/2023, 1:04 PM1.8.20