Skip to main content

build_frontend

Function build_frontend 

Source
pub async fn build_frontend(
    package_manager: PackageManager,
    meta: &BundleMountMeta,
) -> Result<()>
Expand description

Build a toolchain-produced mount’s frontend: <pm> run build inside the declared project root with stdio inherited, so the user sees their own bundler’s output and diagnostics verbatim.

§Errors

Returns an error when the build fails or does not produce the mount’s declared output directory.

§Panics

Panics when meta declares no project — callers only reach this for include_web! mounts.