<!--- Thanks for filing an issue 😄! Before you submit, please read the following: Search open/closed issues before submitting since someone might have asked the same thing before! If you have a support request or question please submit them to the #minify channel on babeljs slack: https://babeljs.slack.com/messages/minify Also have a look at the Debugging guidelines: https://github.com/babel/minify/blob/master/CONTRIBUTING.md#debugging Things required: For a bug: 1. Minimal code to reproduce the bug 2. Stack Trace if there is an Error thrown during minification 3. Configuration - babel-minify configuration or babelrc 4. Whether you used it with other presets/plugins - like es2015 or env 5. Environment: gulp, rollup, webpack, babel-cli, etc...? For an enhancement: 1. Description 2. Code Examples with transformations --> #### Input Code ```js if (false) { var {x, y} = foo(); } ``` #### Actual Output <!-- If an error is thrown, please provide the stack trace here --> ```js var{x,y}; ``` #### Expected Output ```js var x,y; ``` #### Details <!--- Anything else at all --> This bug is annoying especially when you disable scoped variables due to Safari bugs related to for statements with scoped variables.
Input Code
Actual Output
Expected Output
Details
This bug is annoying especially when you disable scoped variables due to Safari bugs related to for statements with scoped variables.