fix(wasm): mark marqdo-bridge.js as ESM for Node consumers
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>
This commit is contained in:
1 parent
f3051fb536
commit
544805266b
1 file changed
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"name": "marqdo-bridge",
|
||||
"private": true,
|
||||
"type": "module"
|
||||
}
|
||||
Reference in new issue
Block a user