Set an environment variable during serve for bundling

This commit is contained in:
Evan Almloff committed 2023-08-18 11:12:56 -05:00
1 parent efe08df966
commit 1ed814668a
2 files changed
+5 -2

No files matched your search

+1 -1
View File
@@ -158,7 +158,7 @@ fn get_asset_root() -> Option<PathBuf> {
*/
if std::env::var_os("CARGO").is_some() {
if std::env::var_os("CARGO").is_some() || std::env::var_os("DIOXUS_ACTIVE").is_some() {
return None;
}