implement mangle.properties.domprops (#5686)

- support destructuring syntax
- fix corner case with comma operator
This commit is contained in:
Alex Lam S.L
2022-09-29 05:18:04 +01:00
committed by GitHub
parent a570c00251
commit bd5fc4cb1b
15 changed files with 94 additions and 38 deletions

View File

@@ -42,7 +42,9 @@ describe("let", function() {
compress: false,
ie: true,
mangle: {
properties: true,
properties: {
domprops: true,
},
},
});
if (result.error) throw result.error;