And also have questions about how to get both Comm...
# javascript
n
And also have questions about how to get both CommonJs and EsModules generated. It’s somehow linked to the previous issue. https://youtrack.jetbrains.com/issue/KT-75626/KJS-Generate-both-CommonJs-.js-and-EsModules-.mjs
t
Why do you need CommonJS?
n
Because some of our old codebase are written in typescript and tscompiling to commonjs, and we cannot change it that easily (I guess)