//! Embedded frontend static assets, built via pnpm and embedded at compile time. include!(concat!(env!("OUT_DIR"), "/frontend.rs")); /// Returns the embedded frontend static asset for the given path, or `None` if not found. pub fn get_frontend_asset(path: &str) -> Option<&'static [u8]> { FRONTEND.iter().find(|(k, _)| *k == path).map(|(_, v)| *v) }