pub struct ViteSpaBuild {
pub project_path: String,
pub output_dir: String,
pub package_manager: String,
}Expand description
A Vite / SPA build: run <package_manager> build in the project directory
and ship its output directory (e.g. dist).
Fields§
§project_path: String§output_dir: String§package_manager: StringTrait Implementations§
Source§impl BuildStrategy for ViteSpaBuild
impl BuildStrategy for ViteSpaBuild
fn build(&self, reporter: &dyn Reporter) -> Result<BuildArtifact, DeployError>
Auto Trait Implementations§
impl Freeze for ViteSpaBuild
impl RefUnwindSafe for ViteSpaBuild
impl Send for ViteSpaBuild
impl Sync for ViteSpaBuild
impl Unpin for ViteSpaBuild
impl UnsafeUnpin for ViteSpaBuild
impl UnwindSafe for ViteSpaBuild
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more