-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(chore) Switch to using SwcMinifyWebpackPlugin #826
Conversation
Size Change: +43.6 kB (+2%) Total Size: 2.65 MB ℹ️ View Unchanged
|
@denniskigen Well, I have no real desire to switch from using Terser per se. This was just to see if we could pare back the memory usage. Since that was the goal, it made sense to drop Terser altogether, because Terser spawns a worker per available CPU, which would lead to an increased number of Node processes, and hence, memory consumption. It doesn't seem like this switch was meaningfully different though. |
Requirements
For changes to apps
If applicable
Summary
Switches from using Terser (default) to SwcMinifyWebpackPlugin, which runs SWC's minifier.
The main goal here is to reduce memory consumption in builds.
Screenshots
Related Issue
Other