Commit Graph

69 Commits

Author SHA1 Message Date
Alexander Akait
35da76241d
feat(html/codegen): Add an option to keep quotes while minifying (#5996) 2022-09-30 05:29:58 +00:00
Alexander Akait
a716b40d05
chore(html/minifier): Typo (#5995) 2022-09-30 02:11:47 +00:00
Alexander Akait
6c08971a53
perf(html/minifier): Improve performance (#5983) 2022-09-29 02:58:09 +00:00
Donny/강동윤
3c3529cb84
build(rustc): Update rustc (#5943)
**Description:**

This PR updates rustc, and fix some performance bugs of `swc_common`.
2022-09-24 03:33:47 +00:00
Donny/강동윤
1a182ef8d9
perf(es): Optimize memory layout of AST (#5829) 2022-09-20 12:47:21 +09:00
Alexander Akait
7f62fa6227
perf(html): Reduce memory usage (#5867) 2022-09-15 04:17:05 +00:00
Alexander Akait
ccd618ce54
perf(html/minifier): Improve performance (#5838) 2022-09-13 14:01:41 +09:00
Alexander Akait
b691fec7b7
perf(html/minifier): Improve performance (#5840) 2022-09-13 03:06:08 +00:00
Donny/강동윤
4f119b2693
perf(css): Optimize memory layout of ast types (#5823) 2022-09-11 13:56:48 +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/강동윤
3eb1f4b2b1
chore(ci): Fix lints (#5462) 2022-08-12 13:13:35 +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
b65a16c7aa
feat(css/ast): Make raw optional (#5211) 2022-07-15 11:22:59 +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
8bf924ae5f
feat(html/codegen): Improve API (#5031) 2022-06-25 05:33:22 +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
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
LongYinan
db9f7a5ad4
chore(ci): Fix publish build on Windows (#4970) 2022-06-14 15:58:10 +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