Edoardo Luppi
07/04/2023, 8:06 PMturansky
07/04/2023, 8:14 PMturansky
07/04/2023, 8:14 PMEdoardo Luppi
07/04/2023, 8:30 PMAlso you can remove namespaces via webpackOh interesting. So that means I can plug into the Webpack process and change whatever I like? What about generated TS declarations?
turansky
07/04/2023, 8:34 PMturansky
07/04/2023, 8:35 PMI can’t use ES modules because VS Code is based on Electron, and Electron doesn’t support ES modules yet.I’m not sure that Electron module kind blocks you. cc @Sergei Grishchenko
Sergei Grishchenko
07/11/2023, 7:54 AMdynamic import
in CommonJS
https://sliceofdev.com/posts/commonjs-and-esm-modules-interoperability-in-nodejs
It means even if you use CommonJS library (like Electron), you still can write your own code in ESM.
All this information is theoretical, so for your case you need to examine what Kotlin/JS generates for you.Edoardo Luppi
07/11/2023, 7:57 AMSergei Grishchenko
07/11/2023, 8:05 AMSergei Grishchenko
07/11/2023, 8:07 AM