Edoardo Luppi
06/02/2024, 6:30 PMwasmJs
target like this
wasmJs {
nodejs()
useCommonJs()
binaries.library()
generateTypeScriptDefinitions()
}
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?Svyatoslav Kuzmich [JB]
06/02/2024, 6:38 PMuseCommonJs
accidentally got here from a K/JS plugin and is ignored.Edoardo Luppi
06/02/2024, 6:39 PM