Commit Graph

10 Commits

Author SHA1 Message Date
Pig Fang
18d6277e4c
feat(preset-env): Upgrade browserslist-rs (#9023)
**Description:**

Compilation time of browserslist-rs has beed reduced by 32%. See:
https://github.com/browserslist/browserslist-rs/pull/23

But, it's still slower that oxc-browserslist:


![image](https://github.com/swc-project/swc/assets/17216317/44602603-e33f-442e-9ee0-242061089397)

while browserslist-rs costs about 3.9s.




**Related issue:**

Close #9014

---------

Co-authored-by: 강동윤 (Donny) <kdy1997.dev@gmail.com>
2024-07-01 05:20:49 +00:00
Donny/강동윤
e5585e99f1
chore(preset-env): Update browserslist-rs (#8614) 2024-02-07 03:52:42 +00:00
Donny/강동윤
d506c96805
fix(preset-env): Update data (#6719) 2022-12-26 04:46:08 +00:00
Will Binns-Smith
73c48a8e6e
feat(preset-env/base): Implement more traits for BrowserData and Version (#5879)
**Description:**

This derives additional common traits for these public structs.
2022-09-16 01:04:13 +00:00
Donny/강동윤
488562baac
doc(rustdoc): Document rust APIs (#5647) 2022-08-27 06:06:19 +00:00
Austaras
dd0a152f49
fix(es/preset-env): Realign with babel-polyfills (#5293) 2022-07-26 12:16:16 +00:00
LongYinan
db9f7a5ad4
chore(ci): Fix publish build on Windows (#4970) 2022-06-14 15:58:10 +00:00
Donny/강동윤
78d4c2c46a
fix(preset-env): Ignore unknown versions (#4809) 2022-05-26 15:32:06 +00:00
Austaras
487273fc5b
fix(preset-env): Use core-js-compat and @babel/compat-data directly (#3968) 2022-03-11 12:49:53 +00:00
Donny/강동윤
b1d24702e3
refactor(preset-env): Extract common logic for browserslist support (#3674) 2022-02-22 09:03:40 +00:00