Commit Graph

80 Commits

Author SHA1 Message Date
Donny/강동윤
7bcaaef4f7
feat(es/minifier): Mangle labels (#5934)
**Description:**

This PR adds code to mangle labels.
2022-09-22 23:24:05 +09:00
Donny/강동윤
1df72430a5
perf(es/minifier): Invoke DCE only before the first compression (#5907)
**Description:**

Invoke DCE only before the first compression. I verified that this patch does not affect the compression rate of the real-world inputs greatly.
2022-09-20 15:41:26 +09:00
Alexander Akait
ccd618ce54
perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
Donny/강동윤
60ce462215
feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
Donny/강동윤
537449e53b
fix(es/codegen): Emit trailing semicolon (#5659) 2022-08-29 10:10:55 +00:00
Donny/강동윤
d81fe67e4b
feat(es/minifier): Improve gzipped size (#5631) 2022-08-26 05:23:01 +00:00
Alexander Akait
3cb6fc2a29
feat(html/minifier): Improve minification modes (#5568) 2022-08-20 04:04:47 +00:00
Alexander Akait
1a4d7553b8
fix(html/minifier): Apply fixer (#5514) 2022-08-17 09:04:47 +00:00
Donny/강동윤
3943eb24d1
feat(es/minifier): Consider char frequencies (#5375) 2022-08-03 10:20:17 +00:00
Alexander Akait
6ad5b3ce5f
feat(html/minifier): Compress title (#5320) 2022-07-28 01:30:44 +00:00
Alexander Akait
4f55459b01
fix(html/minifier): Don't break unknown attributes (#5256) 2022-07-20 07:23:58 +00:00
Alexander Akait
1da6016da7
feat(html/minifier): Improve minifier (#5227) 2022-07-17 05:31:29 +00:00
Alexander Akait
625fc18da0
feat(html/minifier): Compress more default attributes (#5182) 2022-07-15 10:55:24 +00:00
Alexander Akait
dada2d7d55
feat(html/minifier): Allow specifying options for other tools (#5125) 2022-07-11 13:08:40 +00:00
Alexander Akait
8bc9a40c99
feat(html/minifier): Compress default attributes for svg (#5150) 2022-07-09 03:17:48 +00:00
Alexander Akait
f813a60497
feat(html/minifier): Sort attributes (#4784) 2022-07-06 15:50:23 +00:00
Alexander Akait
5932a0a2ef
fix(html/minifier): Fix bugs of the smart mode (#5093) 2022-07-05 06:04:12 +00:00
Alexander Akait
5ac5ae200c
fix(html/minifier): Small fix (#5079) 2022-07-03 04:14:51 +00:00
Alexander Akait
cb845c9bf9
feat(html/minifier): Remove empty metadata elements (#5085) 2022-07-02 03:25:23 +00:00
Alexander Akait
144314dcc2
feat(html/minifier): Improve collapse_whitespaces (#5070) 2022-07-01 03:50:49 +00:00
Alexander Akait
214c60a313
fix(html/minifier): Minify meta element (#5075) 2022-07-01 02:37:17 +00:00
Alexander Akait
26cfeff79c
feat(html/minifier): Sort unordered values in attributes (#5035) 2022-06-30 01:46:24 +00:00
Alexander Akait
e9bad20898
fix(html/minifier): Fix smart mode (#5058) 2022-06-29 12:30:28 +00:00
Alexander Akait
37eb366a1f
feat(es/parser): Add allow_return_outside_function to options (#5046) 2022-06-29 11:02:05 +00:00
Alexander Akait
d7a5f71073
feat(html/minifier): Allow minifying custom script contents (#5043) 2022-06-28 11:26:00 +00:00
Alexander Akait
0836d29913
feat(html/minifier): Add normalize_attributes for disabling normalization (#5045) 2022-06-28 04:37:04 +00:00
Alexander Akait
55e0ea3294
feat(html/minifier): Allow compressing additional attributes (#5036) 2022-06-27 21:37:48 +09:00
Alexander Akait
9202ff9700
feat(html/minifier): Improve smart mode (#5004) 2022-06-26 19:08:03 +00:00
Alexander Akait
e6c78d0b1d
feat(html/minifier): Add remove_comments option (#5037) 2022-06-25 05:58:06 +00:00
Alexander Akait
47d34a33d4
feat(html/minifier): Compress style and media attributes (#5022) 2022-06-23 03:29:00 +00:00
Alexander Akait
03d8a3a0dd
feat(html/minifier): Add remove_redundant_attributes (#5023) 2022-06-22 05:54:25 +00:00
Alexander Akait
c61babd9af
fix(html/minifier): Compress more complex attributes (#5024) 2022-06-22 04:55:35 +00:00
Alexander Akait
f1fd83dcc7
fix(html/minifier): Avoid optional attributes (#5016) 2022-06-21 15:34:16 +00:00
Alexander Akait
28bc735d03
feat(html/minifier): Minify js (#4999) 2022-06-21 14:28:53 +00:00
Alexander Akait
7745fbf604
feat(html/minifier): Add an API to minify document fragments (#5002) 2022-06-20 13:05:48 +00:00
Alexander Akait
1538649237
feat(html/minifier): Compress more svg/mathml attributes (#5001) 2022-06-20 12:25:43 +00:00
Alexander Akait
713a256ed7
feat(html/minifier): Minify conditional comments (#4975) 2022-06-18 03:51:46 +00:00
Alexander Akait
8e63b0bbd5
fix(html/minifier): Fix removal of comments (#4974) 2022-06-17 19:11:27 +00:00
Alexander Akait
fb74ace19b
feat(html/minifier): Add an option to set html5 doctype (#4980) 2022-06-17 13:26:37 +00:00
Donny/강동윤
364a34cd70
test(html): Remove files which are too large too verify (#4983) 2022-06-16 09:33:21 +00:00
Alexander Akait
2e52c18a6b
feat(html/minifier): Add preserve_comments option (#4959) 2022-06-16 04:26:53 +00:00
Alexander Akait
3e6c0f567a
feat(html/minifier): Compress CSS (#4973) 2022-06-15 04:04:57 +00:00
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
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