Skip to content

Commit

Permalink
chore: small change
Browse files Browse the repository at this point in the history
  • Loading branch information
pedronauck committed Mar 5, 2024
1 parent cb887c9 commit 02aeb26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ fn main() {
let dest_path = Path::new(&out_dir).join("index.html");
let page = include_bytes!("./static/index.html");
let minified = minify_html::minify(page, &Cfg::spec_compliant());
fs::write(dest_path, minified).expect("failed to save minified index page");

fs::write(dest_path, minified).expect("failed to save minified index page");
println!("cargo:rerun-if-changed=static");
}

0 comments on commit 02aeb26

Please sign in to comment.