Skip to content

Commit

Permalink
Fix yoga-layout/wasm-sync exporting async binary if browser/node ex…
Browse files Browse the repository at this point in the history
…port 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.
  • Loading branch information
NickGerleman committed Nov 1, 2023
1 parent 83a58bb commit c01dcd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"./wasm-sync": {
"browser": "./src/entrypoint/wasm-sync-web.ts",
"node": "./src/entrypoint/wasm-sync-node.ts",
"default": "./src/entrypoint/wasm-async-web.ts"
"default": "./src/entrypoint/wasm-sync-web.ts"
}
},
"files": [
Expand Down

0 comments on commit c01dcd2

Please sign in to comment.