implement fullstack assets integration

This commit is contained in:
Evan Almloff committed 2023-08-18 14:30:23 -05:00
1 parent afb8578605
commit 1c58352456
3 files changed
+12 -7

No files matched your search

+3 -1
View File
@@ -1,6 +1,6 @@
use crate::cfg::Platform;
#[cfg(feature = "plugin")]
use crate::plugin::PluginManager;
use crate::{cfg::Platform, WebAssetConfigDropGuard};
use super::*;
@@ -48,6 +48,8 @@ impl Build {
crate::builder::build_desktop(&crate_config, false)?;
}
Platform::Fullstack => {
// Fullstack mode must be built with web configs on the desktop (server) binary as well as the web binary
let _config = WebAssetConfigDropGuard::new();
{
let mut web_config = crate_config.clone();
let web_feature = self.build.client_feature;