The canonical bridge uses ESM exports but, with no package.json in scope, Node loads untyped .js as CommonJS — tests/wasm/smoke.mjs could not see applyDomPatch et al (Named export not found). Scope type=module to the js dir only; marqdo wasm build copies just the single .js file, so nothing ships differently. Co-authored-by: Cursor <cursoragent@cursor.com>
6 lines
69 B
JSON
6 lines
69 B
JSON
{
|
|
"name": "marqdo-bridge",
|
|
"private": true,
|
|
"type": "module"
|
|
}
|