Donny
bf7f4a4b37
chore: Publish crates
2022-01-31 14:59:57 +09:00
Alexander Akait
eeedd9adf5
refactor(css/ast): Rename property
to name
( #3410 )
2022-01-31 05:02:30 +00:00
Donny
43ca078eda
chore: Publish crates
2022-01-31 13:20:27 +09:00
Alexander Akait
6b921cac02
refactor(css/ast): Use Color
instead of HashValue
( #3411 )
2022-01-31 03:10:37 +00:00
Donny
6ec667463f
chore: Publish crates
2022-01-30 22:49:41 +09:00
Alexander Akait
75a14f98b7
fix(css): Allow empty @media
at-rule ( #3404 )
2022-01-30 22:49:09 +09:00
Donny
a143e96931
chore: Publish crates
2022-01-30 21:31:21 +09:00
Alexander Akait
1904944bf7
refactor(css/ast): Use Dimension
instead of UnitValue
( #3401 )
2022-01-30 12:15:05 +00:00
Donny
db674354d3
chore: Publish crates
2022-01-30 14:04:12 +09:00
Alexander Akait
2dc31d9d14
feat(css/ast): Add /
to the delimiters ( #3402 )
2022-01-30 04:49:48 +00:00
Donny
b28b636986
chore: Publish crates
2022-01-30 13:14:38 +09:00
Alexander Akait
3c8d985a07
fix(css/parser): Fix bugs related to url
( #3403 )
2022-01-30 04:10:58 +00:00
Alexander Akait
64383e385c
test(css/codegen): Add more tests ( #3405 )
2022-01-30 12:37:21 +09:00
Donny
a94f1ddb6f
chore: Publish crates
2022-01-30 12:36:38 +09:00
Artur
9dec9236f7
feat(es/lints): Implement no-debugger
rule ( #3398 )
2022-01-30 03:33:46 +00:00
Donny
7de339530c
chore: Publish crates
2022-01-30 11:59:53 +09:00
Alexander Akait
3ded88bffc
fix(css/parser): Fix parser logic related to case insensivity ( #3382 )
2022-01-30 11:59:20 +09:00
Donny
930a1c2405
chore: Publish crates
2022-01-29 13:37:17 +09:00
Donny/강동윤
cebc5dc148
fix(swc): Run resolver
before everything ( #3400 )
...
swc:
- Use `ts_resolver` for typescript. This is required to handle decorators properly.
- Apply `resolver` before creating custom passes.
2022-01-29 13:36:34 +09:00
Donny
c49ffc2c8b
chore: Publish crates
2022-01-29 12:10:57 +09:00
Alexander Akait
b31619d48e
refactor(css/ast): Refactor delimited values ( #3397 )
2022-01-29 12:10:29 +09:00
Donny/강동윤
74b433080b
refactor(es/minifier): Remove unused crates ( #3395 )
2022-01-28 20:17:08 +09:00
Donny/강동윤
839d0ac480
refactor(es/parser): Flatten tests to make git
faster ( #3393 )
2022-01-28 19:11:30 +09:00
Donny
0e7d525352
chore: Publish crates
2022-01-28 16:09:16 +09:00
Donny/강동윤
91d78000ea
feat(es/minifier): Implement drop_console
( #3392 )
...
swc_ecma_minifier:
- Merge `drop_console` into pure optimizer.
- Implement `drop_console`. (Closes #2321 )
2022-01-28 16:08:41 +09:00
Donny
e215e077ef
chore: Publish crates
2022-01-28 15:37:22 +09:00
RiESAEX
1dcc188dd8
fix(es/modules): Allow using dynamic import with a name from another import ( #3390 )
2022-01-28 06:36:20 +00:00
Donny
6690354f79
chore: Publish crates
2022-01-28 13:43:58 +09:00
Donny/강동윤
38c2499358
fix(es/minifier): Fix evaluator ( #3391 )
2022-01-28 13:43:29 +09:00
Donny
3eaebdf479
chore: Publish crates
2022-01-28 01:14:47 +09:00
magic-akari
9eb77738fd
fix(es/compat): Add the missing span in optional_chaining
( #3384 )
2022-01-28 01:14:09 +09:00
Donny
2cdd4300cf
chore: Publish crates
2022-01-28 01:13:16 +09:00
Alexander Akait
c73835bfeb
feat(css/parser): Improve selector parser ( #3386 )
2022-01-28 01:11:26 +09:00
Donny/강동윤
78e83a386b
chore(repo): Add clippy
to git push hook ( #3383 )
2022-01-28 00:22:43 +09:00
Donny
33d906caf3
chore: Publish crates
2022-01-27 21:45:13 +09:00
Alexander Akait
0537ef1a11
feat(css/codegen): Implement minify: true
( #3369 )
2022-01-27 21:44:38 +09:00
Donny/강동윤
0359deb484
perf(node-swc): Speed up parse
and parseFile
( #3380 )
...
node-swc:
- Use a worker thread for json serialization.
2022-01-27 19:01:58 +09:00
Donny
3c50e82193
chore: Publish crates
2022-01-27 19:00:30 +09:00
Donny
3bda85e303
chore: Publish v1.2.135
2022-01-27 17:42:57 +09:00
Donny/강동윤
7ef3bfa5b6
refactor(es/minifier): Merge execution tests into a file to make git
faster ( #3377 )
2022-01-27 17:41:43 +09:00
LongYinan
464c15b775
chore(ci): Fix FreeBSD build ( #3379 )
2022-01-27 17:10:03 +09:00
Donny
3a238df25a
chore: Publish crates
2022-01-27 16:29:12 +09:00
Donny
90d8036b2b
chore: Publish crates
2022-01-27 16:27:38 +09:00
Pig Fang
d3d754bd17
feat(es/preset-env): Upgrade browserslist-rs
( #3375 )
2022-01-27 07:00:35 +00:00
Donny
6b2f3bb8a0
chore: Publish crates
2022-01-27 15:36:55 +09:00
Donny/강동윤
68e9017376
fix(es/minifier): Improve minifier ( #3350 )
...
swc_ecma_transforms_optimization:
- `expr_simplifier`: Track more changes.
swc_ecma_minifier:
- Analyze after applying the pure optimizer.
- Preserve access to a variable not in scope.
- `compress`: Remove string literal if it was not a directive.
- `pure/collapse_vars`: Merge vars declared in the first statement into one with initializers if `collapse_vars` and `join_vars` are enabled.
- `unused`: Use `usage_count` instead of `ref_count`.
- `unused`: Fix dropping rule for member expressions.
- `unused`: Fix dropping rule for declarations.
- `hoist_props`: Preserve exported items.
2022-01-27 15:36:22 +09:00
Shawn Meng
90cf073ab9
doc(contributing): Fix formatting ( #3376 )
2022-01-27 15:28:37 +09:00
Donny
bcc3ae86ae
chore: Publish crates
2022-01-26 20:39:45 +09:00
Artur
987213797f
feat(es/lints): Implement "no-console" rule ( #3269 )
...
swc_ecma_lints:
- Add types for general configuration.
- Add `no-console`rule.
swc:
- Expose the lint config via `jsc.lints`.
2022-01-26 20:39:19 +09:00
Donny
8a0ebebb08
chore: Publish crates
2022-01-26 20:37:51 +09:00