don't include inteprocess in wasm builds
This commit is contained in:
1 parent
97b9f422e1
commit
f71ab650e8
2 files changed
+3
-1
No files matched your search
@@ -17,6 +17,8 @@ dioxus-html = { path = "../html", version = "^0.3.0", optional = true }
|
|||||||
dioxus-core-macro = { path = "../core-macro", version = "^0.3.0", optional = true }
|
dioxus-core-macro = { path = "../core-macro", version = "^0.3.0", optional = true }
|
||||||
dioxus-hooks = { path = "../hooks", version = "^0.3.0", optional = true }
|
dioxus-hooks = { path = "../hooks", version = "^0.3.0", optional = true }
|
||||||
dioxus-rsx = { path = "../rsx", version = "0.0.2", optional = true }
|
dioxus-rsx = { path = "../rsx", version = "0.0.2", optional = true }
|
||||||
|
|
||||||
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||||
dioxus-hot-reload = { path = "../hot-reload", version = "0.1.0", optional = true }
|
dioxus-hot-reload = { path = "../hot-reload", version = "0.1.0", optional = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
|
|||||||
@@ -32,6 +32,6 @@ pub mod prelude {
|
|||||||
#[cfg(feature = "html")]
|
#[cfg(feature = "html")]
|
||||||
pub use dioxus_elements::{prelude::*, GlobalAttributes, SvgAttributes};
|
pub use dioxus_elements::{prelude::*, GlobalAttributes, SvgAttributes};
|
||||||
|
|
||||||
#[cfg(feature = "hot-reload")]
|
#[cfg(all(not(target_arch = "wasm32"), feature = "hot-reload"))]
|
||||||
pub use dioxus_hot_reload::{self, hot_reload_init};
|
pub use dioxus_hot_reload::{self, hot_reload_init};
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user