Commit Graph

14 Commits

Author SHA1 Message Date
Wilson Lin 82d287d9c4 Restructure Rust project 2021-08-08 17:40:42 +10:00
Wilson Lin 138de76de9 Minify style attributes as well 2021-08-07 18:59:54 +10:00
Wilson Lin 6650d94485 Ignore html/head/body duplicate tags while parsing, omit them when minifying; parse <title> correctly 2021-08-07 15:59:41 +10:00
Wilson Lin d46fcaecf4 Fix tag min regression 2021-08-07 15:24:19 +10:00
Wilson Lin a0601da597 Improve attr min perf 2021-08-07 15:10:31 +10:00
Wilson Lin 2885724931 Make Cfg values all default false 2021-08-07 14:56:20 +10:00
Wilson Lin 28944e33a4 Clippy suggestions 2021-08-06 23:18:45 +10:00
Wilson Lin b0c574dbd7 Fix tag omission minification; implement entity reencoding minification 2021-08-06 22:53:33 +10:00
Wilson Lin 5433c3041a Implement attr minification; various parser and minifier fixes 2021-08-06 21:56:54 +10:00
Wilson Lin 9eb5045f6f Sort attributes for determinism; fix parsing of entities; combine split adjacent text nodes 2021-08-06 21:04:47 +10:00
Wilson Lin bf37e37e71 Clean up dead code and tests 2021-08-06 17:54:23 +10:00
Wilson Lin 383b2b3423 Implement whitespace minification 2021-08-06 17:33:56 +10:00
Wilson Lin 1a930a170d rustfmt 2021-08-06 16:19:36 +10:00
Wilson Lin 5a259a8ead Implement core minifier 2021-08-06 16:17:45 +10:00