Donny/강동윤
14ea705f27
build(cargo): Update rustc to nightly-2023-11-04
( #8221 )
...
**Breaking Changes**:
- `Mark::default()` is now identical as `Mark::new()`.
**Description:**
I want to see if inlining is improved
2023-11-04 21:47:10 +00:00
Donny/강동윤
d1097ccb59
feat(css/parser): Store lexed comments ( #8091 )
...
**Description:**
For now, we leave every comment as a leading comment. As logic for determining leading vs trailing is quite complex, I'll do it with another PR.
2023-10-10 11:42:20 +00:00
Donny/강동윤
84cec8766d
refactor(atoms): Remove usage of js_word!
to drop string-cache
( #7976 )
...
**Description:**
This PR is to prepare removal of `string-cache`. Actually, this PR does not remove it. Instead, this PR only removes direct usages of `js_word!`s, especially in patterns.
**Related issue:**
- #4946 .
2023-10-08 00:39:51 +00:00
Donny/강동윤
ee7575695d
feat(es/codegen): Add an option to print assert
for import attributes ( #7914 )
...
**Description:**
- `jsc.experimental.keepImportAssertions` is renamed to `jsc.experimental.keepImportAttributes`.
- `jsc.experimental.emitAssertForImportAttributes` is added.
**Related issue:**
- Closes #7908
2023-09-05 21:24:25 +09:00
Alexander Akait
7d3aa66bb8
perf(html/minifier): Reduce allocations ( #6623 )
2022-12-13 12:34:55 +09:00
Donny/강동윤
b4eef53680
feat(css/ast): Make AST intuitive ( #6606 )
2022-12-09 02:27:19 +00:00
Alexander Akait
8633d27df0
perf(css/ast): Reduce token size ( #6569 )
2022-12-06 01:58:29 +00:00
Alexander Akait
7f6bf59a98
feat(html/minifier): Use the latest EsVersion
( #6453 )
2022-11-18 02:32:55 +00:00
Alexander Akait
74417217a9
feat(html/minifier): Remove empty script and style tags with attributes ( #6447 )
2022-11-17 01:22:56 +00:00
Alexander Akait
1dfd8cef88
fix(html/minifier): Fix script/style merging ( #6443 )
2022-11-16 03:31:03 +00:00
Alexander Akait
a923e52d8f
fix(html/minifier): Fix merging of scripts ( #6393 )
2022-11-11 08:47:05 +00:00
Alexander Akait
34b3710c9c
feat(html/minifier): Improve merging of group elements ( #6349 )
2022-11-07 14:26:08 +00:00
Alexander Akait
02f8d31ef3
feat(html/minifier): Merge script
tags ( #6273 )
2022-10-28 02:39:10 +00:00
Alexander Akait
028951c36c
fix(html/minifier): Merge style blocks ( #6264 )
2022-10-27 02:25:45 +00:00
Alexander Akait
782da5c83a
feat(html/minifier): Handle crossorigin
( #6261 )
2022-10-27 00:16:24 +00:00
Alexander Akait
aa3fab1957
feat(html/minifier): Improve removal of redundant attributes ( #6197 )
2022-10-20 04:17:17 +00:00
Alexander Akait
35466322d6
fix(html/minifier): Fix bugs of merging and removing metadata elements ( #6200 )
2022-10-19 03:25:18 +00:00
Alexander Akait
0ba464d643
fix(html/minifier): Compress exportparts
( #6187 )
2022-10-18 14:48:47 +00:00
Alexander Akait
8f00d1a934
feat(html/minifier): Compress javascript:
URLs ( #6185 )
2022-10-18 14:15:43 +00:00
Alexander Akait
41093b022d
feat(html/minifier): Merge identical metadata elements ( #6183 )
2022-10-18 13:40:59 +00:00
Alexander Akait
5571c0c202
fix(html/minifier): Avoid ;
at the end of js ( #6188 )
2022-10-18 01:07:15 +00:00
Alexander Akait
e63fa28008
fix(css/ast): Fix AST types for simple block ( #6131 )
2022-10-13 05:31:34 +00:00
Alexander Akait
b71dd3ec05
feat(css/ast): Support <general-enclosed>
for @media
at-rules ( #6082 )
2022-10-07 14:51:53 +00:00
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