Skip to content

Commit c01dcd2

Browse files
committed
Fix yoga-layout/wasm-sync exporting async binary if browser/node export conditions not met
When node or browser export conditions are not met, we resolve `yoga-layout/wasm-sync` to the async binary because of a typo.
1 parent 83a58bb commit c01dcd2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

javascript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"./wasm-sync": {
3939
"browser": "./src/entrypoint/wasm-sync-web.ts",
4040
"node": "./src/entrypoint/wasm-sync-node.ts",
41-
"default": "./src/entrypoint/wasm-async-web.ts"
41+
"default": "./src/entrypoint/wasm-sync-web.ts"
4242
}
4343
},
4444
"files": [

0 commit comments

Comments
 (0)