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:
Nick Gerleman
2023-10-31 21:40:51 -07:00
committed by Nick Gerleman
parent 83a58bb9d6
commit c01dcd2338

View File

@@ -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": [