mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-23 20:53:06 +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
|
@ -30,6 +30,10 @@ impl Serve {
|
|||
if self.serve.profile.is_some() {
|
||||
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(|| {
|
||||
crate_config
|
||||
|
|
Loading…
Reference in a new issue