Commit Graph

91 Commits

Author SHA1 Message Date
Alexander Akait
5c2a918946
feat(html): Support self-closing flag (#4950) 2022-06-14 13:31:23 +00:00
Alexander Akait
3957bc64b7
feat(html/minifier): Add collapse_boolean_attributes option (#4960) 2022-06-14 05:38:50 +00:00
Alexander Akait
63d630d477
feat(html/minifier): Add remove_empty_attributes option (#4958) 2022-06-13 19:52:35 +00:00
Alexander Akait
f2690cce08
feat(html/minifier): Compress whitespaces (#4916) 2022-06-13 13:55:03 +00:00
Alexander Akait
f157aae40c
feat(html/codegen): Minify svg attributes (#4917) 2022-06-10 09:14:40 +00:00
Alexander Akait
da09c1ca5b
feat(html/codegen): Improve entity compression (#4889) 2022-06-07 04:33:33 +00:00
Alexander Akait
ae1ff1e55b
feat(html/codegen): Support context element (#4887) 2022-06-05 20:43:56 +00:00
Alexander Akait
6e0f5f1c48
feat(html/minifier): Remove spaces between nodes (#4880) 2022-06-04 17:51:36 +00:00
Alexander Akait
c5df1a3a54
feat(html/minifier): Improve compression of attributes (#4849) 2022-06-01 00:07:19 +00:00
Alexander Akait
e6ae299776
feat(html/minifier): Compress viewport meta (#4844) 2022-05-30 07:07:52 +00:00
Alexander Akait
c9d0e37ab9
fix(html/codegen): Remove optional html start tag (#4811) 2022-05-27 14:45:18 +00:00
Alexander Akait
d833057d79
fix(html/codegen): Handle HTML entities correctly (#4782) 2022-05-27 08:39:30 +00:00
Alexander Akait
731c59e9b7
feat(html/minifier): Compress more json types (#4813) 2022-05-27 07:09:28 +00:00
Alexander Akait
c35cb598f7
fix(html/minifier): Avoid removing id with spaces (#4786) 2022-05-26 06:13:39 +00:00
Alexander Akait
c6ec9f9cf2
feat(html/codegen): Omit start and end tags if it is possible (#4780) 2022-05-25 16:48:33 +00:00
Alexander Akait
11aa6bee9e
feat(html/minifier): Sort classes (#4783) 2022-05-25 03:02:27 +00:00
Alexander Akait
b5e481c114
feat(html/minifier): Improve script type compression (#4785) 2022-05-25 02:35:43 +00:00
Alexander Akait
07c197f51c
feat(html/codegen): Omit end tags (#4770) 2022-05-24 12:54:12 +00:00
Alexander Akait
5d0e8fbda4
feat(html/parser): Report an error for a legacy doctype (#4717) 2022-05-21 10:59:56 +00:00
Alexander Akait
cac8cee62a
feat(html/minifier): Compress characters in head (#4682) 2022-05-19 01:15:40 +00:00
Alexander Akait
3aac28e9df
feat(html/minifier): Compress more json content (#4684) 2022-05-17 03:44:27 +00:00
Alexander Akait
1f945b9277
fix(html/parser): Fix error reporting (#4644) 2022-05-14 01:43:52 +00:00
Alexander Akait
af9c8c6b4c
fix(html): Fix parsing of template (#4647) 2022-05-13 05:07:24 +00:00
Alexander Akait
c41aca6b24
feat(html/minifier): Compress application/ld+json (#4628) 2022-05-12 19:32:49 +00:00
Alexander Akait
5679b69600
feat(html/minifier): Improve minification of attributes (#4625) 2022-05-12 04:40:47 +00:00
Alexander Akait
7c6627fc21
refactor(html): Refactor parser and codegen (#4611) 2022-05-11 03:55:46 +00:00
Alexander Akait
79090e1b2a
fix(html/parser): Fix parsing of comments in textarea (#4530) 2022-05-05 03:13:20 +00:00
Alexander Akait
fca84eb0f2
fix(html/parser): Fix bugs (#4502) 2022-05-03 02:49:06 +00:00
Alexander Akait
750d6551fc
feat(html/minifier): Remove duplicate attributes (#4474) 2022-04-29 05:28:55 +00:00
Alexander Akait
a1877e740a
feat(html/minifier): Remove javascript: prefix (#4460) 2022-04-29 03:19:44 +00:00
Alexander Akait
8bdfcd996a
fix(html): Fix bugs of parser and codegen (#4461) 2022-04-28 17:57:05 +00:00
Alexander Akait
0ae43502f3
feat(html/minifier): Compress whitespaces (#4463) 2022-04-28 02:30:53 +00:00
Alexander Akait
8c4dc4cc46
fix(html/parser): Fix a bug with nested tags (#4438) 2022-04-27 02:46:34 +00:00
Alexander Akait
4c699f2554
feat(html/minifier): Compress default values of attributes (#4427) 2022-04-26 07:12:32 +00:00
Alexander Akait
6fc70f3866
feat(html/minifier): Compress doctype (#4425) 2022-04-25 14:34:36 +00:00
Alexander Akait
25a87f0000
feat(html/minifier): Compress type for style and link tags (#4424) 2022-04-25 13:44:53 +00:00
Pig Fang
fec0f2e417
feat(html/minifier): Remove script type attribute (#4407) 2022-04-25 07:46:38 +00:00
Alexander Akait
9b26dbd457
fix(html/lexer): Fix lexing of html entity (#4423) 2022-04-25 05:34:59 +00:00
Donny/강동윤
f787f8c819
test(es/minifier): Execute terser tests if possible (#4418) 2022-04-24 11:40:39 +00:00
Alexander Akait
c15dc4f2b7
feat(html/codegen): Print unquoted value when it is possible (#4402) 2022-04-23 15:31:11 +00:00
Alexander Akait
63a6280e8f
feat(html/minifier): Initialize crate (#4403) 2022-04-23 03:50:59 +00:00