Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tuananh
on Oct 14, 2021
|
parent
|
context
|
favorite
| on:
Parcel v2
the benchmark looks brutal to other bundler
devongovett
on Oct 14, 2021
[–]
Note that this benchmark is dominated by Terser for minification. All tools aside from ESBuild use it.
kabber
on Oct 14, 2021
|
parent
[–]
Why not minify with esbuild instead by default?
devongovett
on Oct 14, 2021
|
root
|
parent
[–]
esbuild tends to produce larger bundles due to
https://github.com/evanw/esbuild/issues/639
. Looks like there was recent activity though, so we need to re-test. Anyway, there's a plugin available for now:
https://www.npmjs.com/package/@parcel/optimizer-esbuild
. We're also excited about the SWC minifier project, which is basically a port of Terser to Rust.
kabber
on Oct 14, 2021
|
root
|
parent
[–]
This link
https://github.com/privatenumber/minification-benchmarks
shows swc is still a work in progress.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: