Skip to main content

Module build

Module build 

Source
Expand description

Local build strategies.

A BuildStrategy runs a project’s build locally and reports where the shippable output is, as a BuildArtifact. Transport (see crate::transport) takes it from there. Keeping “build” and “ship” separate is what lets the same engine drive a local build, a CI build, or a server-side build without the strategies knowing which.

Structs§

BuildArtifact
What a build produced and where to ship it from.
ViteSpaBuild
A Vite / SPA build: run <package_manager> build in the project directory and ship its output directory (e.g. dist).

Traits§

BuildStrategy
Builds a project locally into a BuildArtifact.