web: add mock wasm-socket for building on non-wasm
This commit is contained in:
@@ -37,8 +37,9 @@ letterbox-shared = { version = "0.14.0", path = "../shared", registry = "xinu" }
|
||||
letterbox-notmuch = { version = "0.14.0", path = "../notmuch", registry = "xinu" }
|
||||
seed_hooks = { version = "0.4.0", registry = "xinu" }
|
||||
strum_macros = "0.27.1"
|
||||
wasm-sockets = "1.0.0"
|
||||
gloo-console = "0.3.0"
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
wasm-sockets = "1.0.0"
|
||||
|
||||
[package.metadata.wasm-pack.profile.release]
|
||||
wasm-opt = ['-Os']
|
||||
|
||||
Reference in New Issue
Block a user