Skip to content

allow specifiying minification options for swc plugin #922

Description

@Tomate0613

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions