(root: &Path, slug: &str, path: &Path, out: &mut Vec<DocOut>)
| 236 | .with_web_output_dir(WebOutputDir::Build), |
| 237 | ) |
| 238 | .map_err(|err| io::Error::other(format!("{project_name} web build failed: {err}")))?; |
| 239 | } |
| 240 | |
| 241 | if bundle_complete(&output_dir) { |
| 242 | sync_dir(&output_dir, &public_dir)?; |
| 243 | } |
| 244 | Ok(()) |
| 245 | } |
| 246 |