minify js at runtime in liveview

This commit is contained in:
Evan Almloff committed 2024-02-01 10:10:05 -06:00
1 parent e2e0a934fd
commit 2371c9eed3
4 files changed
+45 -6

No files matched your search

+1 -1
View File
@@ -24,6 +24,7 @@ serde = { version = "1.0.151", features = ["derive"] }
serde_json = "1.0.91"
dioxus-html = { workspace = true, features = ["serialize", "eval", "mounted"] }
rustc-hash = { workspace = true }
minify-js = "0.5.6"
dioxus-core = { workspace = true, features = ["serialize"] }
dioxus-interpreter-js = { workspace = true, features = ["binary-protocol"] }
dioxus-hot-reload = { workspace = true, optional = true }
@@ -62,7 +63,6 @@ dioxus = { workspace = true }
[build-dependencies]
# dioxus-interpreter-js = { workspace = true, features = ["binary-protocol"] }
# minify-js = "0.5.6"
[features]
default = ["hot-reload"]