News for hackers. Stuff that matters.
Re:Parcel v2 by kabber on Wednesday October 13, 2021 @11:33PM (#28860235)
Why not minify with esbuild instead by default?
Re:Parcel v2 by devongovett on Wednesday October 13, 2021 @11:51PM (#28860326)
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.
Re:Parcel v2 by kabber on Thursday October 14, 2021 @12:06AM (#28860411)
This link https://github.com/privatenumber/minification-benchmarks shows swc is still a work in progress.