mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-10 06:34:20 +00:00
Fix client release builds
This commit is contained in:
parent
0105cbba3d
commit
0c88b39c76
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ impl BuildRequest {
|
|||
|
||||
fn new_client(serve: bool, config: &DioxusCrate, build: &Build) -> Self {
|
||||
let mut build = build.clone();
|
||||
if build.profile.is_none() {
|
||||
if build.profile.is_none() && !build.release {
|
||||
build.profile = Some(SERVER_PROFILE.to_string());
|
||||
}
|
||||
let (client_feature, client_platform) = build.auto_detect_client_platform(config);
|
||||
|
|
Loading…
Reference in a new issue