Simplify cli-config, hotreload -> devtools (drop to 0 deps, fast compile times) (#2975)

* simplify cli-config crate
* clean up configs
* add devtools crate, update cargo imports
* fix serve addr, fix websocket proxy issue
* add comment about opt profiles
* rename hot-reload to devtools
This commit is contained in:
Jonathan Kelley authored and GitHub committed 2024-09-17 17:18:23 -07:00
1 parent 8203ee571f
commit 3fb1f739d1
58 files changed
+1131 -1654

No files matched your search

+2 -2
View File
@@ -19,12 +19,12 @@ pub enum UserWindowEvent {
/// Handle a hotreload event, basically telling us to update our templates
#[cfg(all(
feature = "hot-reload",
feature = "devtools",
debug_assertions,
not(target_os = "android"),
not(target_os = "ios")
))]
HotReloadEvent(dioxus_hot_reload::DevserverMsg),
HotReloadEvent(dioxus_devtools::DevserverMsg),
/// Create a new window
NewWindow,