working wasm build

This commit is contained in:
Lauri Räsänen 2023-01-28 12:23:43 +02:00
parent dc3bd2a433
commit 1dc6565a26
6 changed files with 125 additions and 37 deletions

View file

@ -24,8 +24,9 @@ tobj = { version = "3.2.1", features = ["async"] }
gltf = "1.0.0"
wgpu-types = "0.14.1"
regex = "1.7.1"
rust-embed = "6.4.2"
rust-embed = { version = "6.4.2", features = ["debug-embed", "compression"]}
cfg-if = "1"
instant = "0.1.12"
[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook = "0.1.6"