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.
This commit is contained in:
committed by
Nick Gerleman
parent
83a58bb9d6
commit
c01dcd2338
@@ -38,7 +38,7 @@
|
|||||||
"./wasm-sync": {
|
"./wasm-sync": {
|
||||||
"browser": "./src/entrypoint/wasm-sync-web.ts",
|
"browser": "./src/entrypoint/wasm-sync-web.ts",
|
||||||
"node": "./src/entrypoint/wasm-sync-node.ts",
|
"node": "./src/entrypoint/wasm-sync-node.ts",
|
||||||
"default": "./src/entrypoint/wasm-async-web.ts"
|
"default": "./src/entrypoint/wasm-sync-web.ts"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
|
Reference in New Issue
Block a user