-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
fix(bindings/types): Add missing mangle options #9298
Conversation
fix(types): add missing mangle options
|
CodSpeed Performance ReportMerging #9298 will not alter performanceComparing Summary
|
You may refer to swc/crates/swc_ecma_minifier/src/js.rs Line 14 in 76fe139
|
@Austaras I don't understand what you want me to change specifically. The purpose of this PR is to make TS type definitions consistent with Rust's implementation and SWC's documentation. |
Sorry, I find the wrong config struct. |
Haha, Terser's options are a bit confusing 😂 |
Description:
Add missing mangle options to be consistent with the SWC documentation:
https://swc.rs/docs/configuration/minification#jscminifymangle