Merge pull request #130 from spookyvision/patch-1

propagate `features` to `dioxus serve`
This commit is contained in:
YuKun Liu 2023-04-07 14:08:40 -07:00 committed by GitHub
commit 286d769103
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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