optimizations for wasm size (#582)

* optimize for size

* fix tests

* revert log feature

* make backtrace not optional

* remove dev feature from web dev-deps
This commit is contained in:
Demonthos authored and GitHub committed 2022-11-16 22:22:13 -08:00
1 parent 8ea61e1b3e
commit f21c8423eb
6 files changed
+61 -28

No files matched your search

+5 -6
View File
@@ -23,9 +23,6 @@ rustc-hash = "1.1.0"
# Used in diffing
longest-increasing-subsequence = "0.1.0"
# internall used
log = { version = "0.4" }
futures-util = { version = "0.3", default-features = false }
smallvec = "1.6"
@@ -34,16 +31,18 @@ slab = "0.4"
futures-channel = "0.3.21"
# internally used
log = "0.4"
# used for noderefs
once_cell = "1.8"
indexmap = "1.7"
# Serialize the Edits for use in Webview/Liveview instances
serde = { version = "1", features = ["derive"], optional = true }
# todo: I want to get rid of this
backtrace = "0.3"
backtrace = { version = "0.3" }
# allows cloing trait objects
dyn-clone = "1.0.9"
@@ -52,4 +51,4 @@ dyn-clone = "1.0.9"
default = []
serialize = ["serde"]
debug_vdom = []
hot-reload = []
hot-reload = []