fix mangle on export (#2133)
- `export default ...` - `export` with `AST_Destructuring` fixes #2129
This commit is contained in:
@@ -95,3 +95,15 @@ issue_2131: {
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
issue_2129: {
|
||||
mangle = {
|
||||
toplevel: true,
|
||||
}
|
||||
input: {
|
||||
export const { keys } = Object;
|
||||
}
|
||||
expect: {
|
||||
export const { keys } = Object;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user