We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Minifying this:
function foo(arr) { let [a, b] = arr; };
Crashes with "SyntaxError: unknown: NodePath has been removed so is read-only. (This is an error on an internal node. Probably an internal error)"
A likely related case is this:
function foo() { return getPromise() .then(arr => { let [a, b] = arr; console.log(a); }); };
Minifying this succeeds, but the destructured let is completely removed, leaving references to nonexistent variables:
function foo() { return getPromise().then((b) => { console.log(a); // oops: 'a' declaration removed }); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Minifying this:
Crashes with "SyntaxError: unknown: NodePath has been removed so is read-only. (This is an error on an internal node. Probably an internal error)"
A likely related case is this:
Minifying this succeeds, but the destructured let is completely removed, leaving references to nonexistent variables:
The text was updated successfully, but these errors were encountered: