mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-12-18 00:23:07 +00:00
Merge pull request #130 from spookyvision/patch-1
propagate `features` to `dioxus serve`
This commit is contained in:
commit
286d769103
1 changed files with 4 additions and 0 deletions
|
@ -31,6 +31,10 @@ impl Serve {
|
||||||
crate_config.set_profile(self.serve.profile.unwrap());
|
crate_config.set_profile(self.serve.profile.unwrap());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if self.serve.features.is_some() {
|
||||||
|
crate_config.set_features(self.serve.features.unwrap());
|
||||||
|
}
|
||||||
|
|
||||||
let platform = self.serve.platform.unwrap_or_else(|| {
|
let platform = self.serve.platform.unwrap_or_else(|| {
|
||||||
crate_config
|
crate_config
|
||||||
.dioxus_config
|
.dioxus_config
|
||||||
|
|
Loading…
Reference in a new issue