use static_files::NpmBuild; fn main() -> std::io::Result<()> { NpmBuild::new("client") .executable("yarn") .install()? .run("build")? .target("client/build") .change_detection() .to_resource_dir() .build() }