I'd expect the .js thin wrapper to be generated using CommonJS. Instead I see it always generates ESM.
Is this going to be fixed, or the CommonJS option isn't supposed to work at all?
s
Svyatoslav Kuzmich [JB]
06/02/2024, 6:38 PM
Only ESM is supposed to be supported.
useCommonJs
accidentally got here from a K/JS plugin and is ignored.
e
Edoardo Luppi
06/02/2024, 6:39 PM
Yup noticed the Wasm DSL extends the JS one. Maybe it makes sense to override the function and throw an error?