Commit Graph

1005 Commits

Author SHA1 Message Date
Alexander Akait
1da6016da7
feat(html/minifier): Improve minifier (#5227) 2022-07-17 05:31:29 +00:00
Donny/강동윤
d3b0996617 chore: Publish crates 2022-07-16 23:30:15 +09:00
SWC Bot
d70687f4d7 chore: Publish crates 2022-07-15 11:25:41 +00:00
Alexander Akait
b65a16c7aa
feat(css/ast): Make raw optional (#5211) 2022-07-15 11:22:59 +00:00
SWC Bot
aef4d3801c chore: Publish crates 2022-07-15 10:58:01 +00:00
Alexander Akait
625fc18da0
feat(html/minifier): Compress more default attributes (#5182) 2022-07-15 10:55:24 +00:00
SWC Bot
629ed78ad2 chore: Publish crates 2022-07-15 02:43:21 +00:00
SWC Bot
023e1eca1f chore: Publish crates 2022-07-14 04:58:51 +00:00
Donny/강동윤
b433b69263 chore: Publish crates 2022-07-12 23:58:30 +09:00
SWC Bot
13083773fb chore: Publish crates 2022-07-12 05:10:12 +00:00
SWC Bot
55cd0803e9 chore: Publish crates 2022-07-11 13:11:13 +00:00
Alexander Akait
dada2d7d55
feat(html/minifier): Allow specifying options for other tools (#5125) 2022-07-11 13:08:40 +00:00
SWC Bot
0a13105e84 chore: Publish crates 2022-07-11 09:00:07 +00:00
SWC Bot
2bd5b4413a chore: Publish crates 2022-07-09 10:17:04 +00:00
SWC Bot
5ea2e75281 chore: Publish crates 2022-07-09 04:21:11 +00:00
SWC Bot
2e79942051 chore: Publish crates 2022-07-09 03:20:08 +00:00
Alexander Akait
8bc9a40c99
feat(html/minifier): Compress default attributes for svg (#5150) 2022-07-09 03:17:48 +00:00
SWC Bot
297228a690 chore: Publish crates 2022-07-07 07:48:49 +00:00
SWC Bot
40dabaddfd chore: Publish crates 2022-07-07 04:38:01 +00:00
SWC Bot
fa37781750 chore: Publish crates 2022-07-06 15:52:42 +00:00
Alexander Akait
f813a60497
feat(html/minifier): Sort attributes (#4784) 2022-07-06 15:50:23 +00:00
SWC Bot
9385103649 chore: Publish crates 2022-07-06 04:44:10 +00:00
SWC Bot
e4496301a9 chore: Publish crates 2022-07-05 06:06:47 +00:00
Alexander Akait
5932a0a2ef
fix(html/minifier): Fix bugs of the smart mode (#5093) 2022-07-05 06:04:12 +00:00
SWC Bot
162671ce32 chore: Publish crates 2022-07-03 05:56:40 +00:00
SWC Bot
0df200f786 chore: Publish crates 2022-07-03 04:17:53 +00:00
Alexander Akait
5ac5ae200c
fix(html/minifier): Small fix (#5079) 2022-07-03 04:14:51 +00:00
SWC Bot
4da97e9d4a chore: Publish crates 2022-07-02 04:20:10 +00:00
SWC Bot
f5447cd1b1 chore: Publish crates 2022-07-02 03:53:10 +00:00
SWC Bot
586228106b chore: Publish crates 2022-07-02 03:27:59 +00:00
Alexander Akait
cb845c9bf9
feat(html/minifier): Remove empty metadata elements (#5085) 2022-07-02 03:25:23 +00:00
SWC Bot
8aaf25f5e7 chore: Publish crates 2022-07-01 03:53:32 +00:00
Alexander Akait
144314dcc2
feat(html/minifier): Improve collapse_whitespaces (#5070) 2022-07-01 03:50:49 +00:00
Donny/강동윤
c2c923e205 chore: Publish crates 2022-07-01 11:50:45 +09:00
SWC Bot
d09bdfb183 chore: Publish crates 2022-07-01 02:39:59 +00:00
Alexander Akait
214c60a313
fix(html/minifier): Minify meta element (#5075) 2022-07-01 02:37:17 +00:00
SWC Bot
ff75f8136f chore: Publish crates 2022-06-30 01:49:17 +00:00
Alexander Akait
26cfeff79c
feat(html/minifier): Sort unordered values in attributes (#5035) 2022-06-30 01:46:24 +00:00
SWC Bot
dcc4f2a706 chore: Publish crates 2022-06-29 12:33:43 +00:00
Alexander Akait
e9bad20898
fix(html/minifier): Fix smart mode (#5058) 2022-06-29 12:30:28 +00:00
SWC Bot
73874486b2 chore: Publish crates 2022-06-29 11:05:08 +00:00
Alexander Akait
37eb366a1f
feat(es/parser): Add allow_return_outside_function to options (#5046) 2022-06-29 11:02:05 +00:00
SWC Bot
5576c3c601 chore: Publish crates 2022-06-29 03:37:57 +00:00
SWC Bot
e7416f09c8 chore: Publish crates 2022-06-28 11:28:42 +00:00
Alexander Akait
d7a5f71073
feat(html/minifier): Allow minifying custom script contents (#5043) 2022-06-28 11:26:00 +00:00
SWC Bot
abfec64560 chore: Publish crates 2022-06-28 04:39:54 +00:00
Alexander Akait
0836d29913
feat(html/minifier): Add normalize_attributes for disabling normalization (#5045) 2022-06-28 04:37:04 +00:00
Donny/강동윤
70770e0fd2 chore: Publish crates 2022-06-28 13:13:00 +09:00
Alexander Akait
55e0ea3294
feat(html/minifier): Allow compressing additional attributes (#5036) 2022-06-27 21:37:48 +09:00
Donny/강동윤
8b042745c6 chore: Publish crates 2022-06-27 21:36:54 +09:00
Alexander Akait
9202ff9700
feat(html/minifier): Improve smart mode (#5004) 2022-06-26 19:08:03 +00:00
SWC Bot
8577caf535 chore: Publish crates 2022-06-25 06:00:36 +00:00
Alexander Akait
e6c78d0b1d
feat(html/minifier): Add remove_comments option (#5037) 2022-06-25 05:58:06 +00:00
SWC Bot
218fe736b2 chore: Publish crates 2022-06-25 05:35:59 +00:00
Alexander Akait
8bf924ae5f
feat(html/codegen): Improve API (#5031) 2022-06-25 05:33:22 +00:00
SWC Bot
4883fe8011 chore: Publish crates 2022-06-25 05:06:17 +00:00
SWC Bot
1b4df974c1 chore: Publish crates 2022-06-23 03:32:13 +00:00
Alexander Akait
47d34a33d4
feat(html/minifier): Compress style and media attributes (#5022) 2022-06-23 03:29:00 +00:00
SWC Bot
b66ba81de6 chore: Publish crates 2022-06-22 05:56:52 +00:00
Alexander Akait
03d8a3a0dd
feat(html/minifier): Add remove_redundant_attributes (#5023) 2022-06-22 05:54:25 +00:00
SWC Bot
c7c1f635c2 chore: Publish crates 2022-06-22 05:16:35 +00:00
Alexander Akait
c61babd9af
fix(html/minifier): Compress more complex attributes (#5024) 2022-06-22 04:55:35 +00:00
SWC Bot
c1493dd4f4 chore: Publish crates 2022-06-21 15:37:15 +00:00
Alexander Akait
f1fd83dcc7
fix(html/minifier): Avoid optional attributes (#5016) 2022-06-21 15:34:16 +00:00
SWC Bot
b0a1df76e4 chore: Publish crates 2022-06-21 14:31:29 +00:00
Alexander Akait
28bc735d03
feat(html/minifier): Minify js (#4999) 2022-06-21 14:28:53 +00:00
Donny/강동윤
125549b7a9
test(es/helpers): Unify code path for testing external helpers (#5010) 2022-06-21 23:02:12 +09:00
SWC Bot
626be5af36 chore: Publish crates 2022-06-20 13:08:47 +00:00
Alexander Akait
7745fbf604
feat(html/minifier): Add an API to minify document fragments (#5002) 2022-06-20 13:05:48 +00:00
SWC Bot
852b864b64 chore: Publish crates 2022-06-20 12:28:22 +00:00
Alexander Akait
1538649237
feat(html/minifier): Compress more svg/mathml attributes (#5001) 2022-06-20 12:25:43 +00:00
SWC Bot
4da4d4dd01 chore: Publish crates 2022-06-18 03:54:26 +00:00
Alexander Akait
713a256ed7
feat(html/minifier): Minify conditional comments (#4975) 2022-06-18 03:51:46 +00:00
SWC Bot
d4ecff65f3 chore: Publish crates 2022-06-17 19:14:04 +00:00
Alexander Akait
8e63b0bbd5
fix(html/minifier): Fix removal of comments (#4974) 2022-06-17 19:11:27 +00:00
SWC Bot
d722ee256f chore: Publish crates 2022-06-17 13:29:29 +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
SWC Bot
276942313b chore: Publish crates 2022-06-16 04:53:47 +00:00
SWC Bot
b46878625c chore: Publish crates 2022-06-16 04:29:45 +00:00
Alexander Akait
2e52c18a6b
feat(html/minifier): Add preserve_comments option (#4959) 2022-06-16 04:26:53 +00:00
SWC Bot
10877addcb chore: Publish crates 2022-06-15 04:07:47 +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
SWC Bot
c9918482ac chore: Publish crates 2022-06-14 13:34:32 +00:00
Alexander Akait
5c2a918946
feat(html): Support self-closing flag (#4950) 2022-06-14 13:31:23 +00:00
SWC Bot
65522af10e chore: Publish crates 2022-06-14 05:41:22 +00:00
Alexander Akait
3957bc64b7
feat(html/minifier): Add collapse_boolean_attributes option (#4960) 2022-06-14 05:38:50 +00:00
SWC Bot
925f4d1641 chore: Publish crates 2022-06-13 19:55:48 +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
SWC Bot
157de39579 chore: Publish crates 2022-06-08 03:57:37 +00:00
Alexander Akait
e365766070
perf(html/parser): Reduce cloning (#4901) 2022-06-08 03:55:11 +00:00
SWC Bot
bdc3797369 chore: Publish crates 2022-06-07 04:36:09 +00:00
Alexander Akait
da09c1ca5b
feat(html/codegen): Improve entity compression (#4889) 2022-06-07 04:33:33 +00:00
SWC Bot
c46045f646 chore: Publish crates 2022-06-06 03:03:11 +00:00
Alexander Akait
ae1ff1e55b
feat(html/codegen): Support context element (#4887) 2022-06-05 20:43:56 +00:00
SWC Bot
369b65b890 chore: Publish crates 2022-06-04 17:54:04 +00:00
Alexander Akait
6e0f5f1c48
feat(html/minifier): Remove spaces between nodes (#4880) 2022-06-04 17:51:36 +00:00
SWC Bot
c1a516c207 chore: Publish crates 2022-06-01 00:15:49 +00:00
Alexander Akait
c5df1a3a54
feat(html/minifier): Improve compression of attributes (#4849) 2022-06-01 00:07:19 +00:00
SWC Bot
c78952e4d5 chore: Publish crates 2022-05-30 07:10:31 +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
SWC Bot
23bc98b17d chore: Publish crates 2022-05-27 07:12:22 +00:00
Alexander Akait
731c59e9b7
feat(html/minifier): Compress more json types (#4813) 2022-05-27 07:09:28 +00:00
SWC Bot
cf4c46517b chore: Publish crates 2022-05-26 06:15:59 +00:00
Alexander Akait
c35cb598f7
fix(html/minifier): Avoid removing id with spaces (#4786) 2022-05-26 06:13:39 +00:00
SWC Bot
54fd602bae chore: Publish crates 2022-05-25 17:35:52 +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
SWC Bot
f2d79b8495 chore: Publish crates 2022-05-25 03:05:21 +00:00
Alexander Akait
11aa6bee9e
feat(html/minifier): Sort classes (#4783) 2022-05-25 03:02:27 +00:00
SWC Bot
7eac561639 chore: Publish crates 2022-05-25 02:40:41 +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
SWC Bot
2771267c08 chore: Publish crates 2022-05-24 06:34:57 +00:00
Alexander Akait
5d0e8fbda4
feat(html/parser): Report an error for a legacy doctype (#4717) 2022-05-21 10:59:56 +00:00
SWC Bot
fc9a85f0f3 chore: Publish crates 2022-05-19 01:18:18 +00:00
Alexander Akait
cac8cee62a
feat(html/minifier): Compress characters in head (#4682) 2022-05-19 01:15:40 +00:00
SWC Bot
f395caa5d1 chore: Publish crates 2022-05-17 08:26:09 +00:00
SWC Bot
aa8fe92e0b chore: Publish crates 2022-05-17 03:47:02 +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
SWC Bot
783917fd91 chore: Publish crates 2022-05-12 19:35:16 +00:00
Alexander Akait
c41aca6b24
feat(html/minifier): Compress application/ld+json (#4628) 2022-05-12 19:32:49 +00:00
SWC Bot
67de03579f chore: Publish crates 2022-05-12 05:09:22 +00:00
SWC Bot
c1e7dd7326 chore: Publish crates 2022-05-12 04:43:48 +00:00
Alexander Akait
5679b69600
feat(html/minifier): Improve minification of attributes (#4625) 2022-05-12 04:40:47 +00:00
SWC Bot
97808349a2 chore: Publish crates 2022-05-11 16:17:07 +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
SWC Bot
5a60e05102 chore: Publish crates 2022-04-29 05:32:42 +00:00
Alexander Akait
750d6551fc
feat(html/minifier): Remove duplicate attributes (#4474) 2022-04-29 05:28:55 +00:00
SWC Bot
f891c83f85 chore: Publish crates 2022-04-29 03:23:39 +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
SWC Bot
55abf8fc28 chore: Publish crates 2022-04-28 02:33:39 +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
SWC Bot
1d90d6e726 chore: Publish crates 2022-04-26 07:14:56 +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
SWC Bot
057285a51c chore: Publish crates 2022-04-25 13:49:37 +00:00
Alexander Akait
25a87f0000
feat(html/minifier): Compress type for style and link tags (#4424) 2022-04-25 13:44:53 +00:00
SWC Bot
747b8a1889 chore: Publish crates 2022-04-25 07:54: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
SWC Bot
a6ca119c3f chore: Publish crates 2022-04-23 04:29:04 +00:00
Alexander Akait
63a6280e8f
feat(html/minifier): Initialize crate (#4403) 2022-04-23 03:50:59 +00:00