Closed losman0s closed 1 year ago
I'm not an expert on JS bundling & co, but is "type": "module" in package.json absolutely required? I was playing around with the SDK today and had to change it to "type": "commonjs" to get anything to work in a simple Node script.
"type": "module"
package.json
"type": "commonjs"
Actually, we support both ESM and commonJS bundle files.
but is "type": "module" in package.json absolutely required
Yes, it's a mistake, I will remove it from package.json later.
I'm not an expert on JS bundling & co, but is
"type": "module"
inpackage.json
absolutely required? I was playing around with the SDK today and had to change it to"type": "commonjs"
to get anything to work in a simple Node script.