Clear and concise description of the problem
Currently the swc plugin only allows for enabling or disabling minification
Suggested solution
I have implemented this feature for testing here
Tomate0613@bad38e5
Alternative
the minification options swc provides are very similar to what terser provides, so the terserOptions field could possibly be re-used or a new field used for both could be created
Additional context
No response
Validations
Clear and concise description of the problem
Currently the swc plugin only allows for enabling or disabling minification
Suggested solution
I have implemented this feature for testing here
Tomate0613@bad38e5
Alternative
the minification options swc provides are very similar to what terser provides, so the
terserOptionsfield could possibly be re-used or a new field used for both could be createdAdditional context
No response
Validations