fix: only run the frontend build if building all canisters
@@ -228,7 +228,6 @@ where
println!("Building {}...", k);
build_file(env, &config, &k)?;
}
- }
// Run `npm run build` if there is a package.json. Ignore errors.
if config.get_project_root().join("package.json").exists() {
@@ -244,6 +243,7 @@ where
.stderr(std::process::Stdio::inherit())
.output()?;
}
+ }
Ok(())
}
