6 ms·
Why not minify with esbuild instead by default?
by kabber 5y ago
Why not minify with esbuild instead by default?
- devongovett 5y agoesbuild tends to produce larger bundles due to https://github.com/evanw/esbuild/issues/639 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 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 5y agoThis link https://github.com/privatenumber/minification-benchmarks https://github.com/privatenumber/minification-benchmarks shows swc is still a work in progress.