We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bc00064 + 4452794 commit a586d95Copy full SHA for a586d95
components/site/src/minify.rs
@@ -5,7 +5,7 @@ pub fn html(html: String) -> Result<String> {
5
let mut cfg = Cfg::spec_compliant();
6
cfg.keep_html_and_head_opening_tags = true;
7
cfg.minify_css = true;
8
- cfg.minify_js = true;
+ cfg.minify_js = false;
9
10
let minified = minify(html.as_bytes(), &cfg);
11
match std::str::from_utf8(&minified) {
@@ -114,6 +114,8 @@ mod tests {
114
}
115
116
// https://github.com/getzola/zola/issues/1765
117
+ // https://github.com/getzola/zola/issues/2731
118
+ #[ignore]
119
#[test]
120
fn can_minify_js() {
121
let input = r#"
0 commit comments