You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Minification can take 30~50% of total production building time. However, terser isn't very good in performance. In our project, replacing terser with esbuild, reduced our build time by 34%. swc's minification is also very fast.
馃 Expected Behavior
Use fast esbuild or swc as minifier.
馃槸 Current Behavior
Use slow terser as minifier.
馃拋 Possible Solution
馃敠 Context
馃捇 Examples
The text was updated successfully, but these errors were encountered:
You can swap out the terser optimizer yourself with @parcel/optimizer-swc or @parcel/optimizer-esbuild. But we've found that, for now, they are either producing bigger or invalid output: #7212 (comment)
馃檵 feature request
Minification can take 30~50% of total production building time. However, terser isn't very good in performance. In our project, replacing terser with esbuild, reduced our build time by 34%. swc's minification is also very fast.
馃 Expected Behavior
Use fast esbuild or swc as minifier.
馃槸 Current Behavior
Use slow terser as minifier.
馃拋 Possible Solution
馃敠 Context
馃捇 Examples
The text was updated successfully, but these errors were encountered: