fix mangle on export (#2133)

- `export default ...`
- `export` with `AST_Destructuring`

fixes #2129
This commit is contained in:
Alex Lam S.L
2017-06-21 14:22:09 +08:00
committed by GitHub
parent db877e8729
commit 8709753bfb
3 changed files with 21 additions and 3 deletions

View File

@@ -95,3 +95,15 @@ issue_2131: {
};
}
}
issue_2129: {
mangle = {
toplevel: true,
}
input: {
export const { keys } = Object;
}
expect: {
export const { keys } = Object;
}
}