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
For repl:
let test = class { method(arg) { do { if(arg.condition) { break; // Problem } } while(false); } }
outputs:
let test = class{ method(a) { if(a.condition) break // Illegal } }
packages/babel-plugin-minify-dead-code-elimination/src/index.js:591
The text was updated successfully, but these errors were encountered:
Deopt do..while stmts with break - (fix #419)
55cfc32
Deopt do..while stmts with break (#433)
19d740c
* Deopt do..while stmts with break - (fix #419) * Add continue statement
Hi, I still got the Illegal break statement error on Babel REPL: input:
Illegal break statement
var test = { metod: function(arg) { do { if(arg.condition) { break; } } while(false); } }
output:
"use strict";var test={metod:function metod(a){if(a.condition)break}};
This change is not released yet?
Sorry, something went wrong.
babili
UglifyJS
Successfully merging a pull request may close this issue.
For repl:
outputs:
packages/babel-plugin-minify-dead-code-elimination/src/index.js:591
The text was updated successfully, but these errors were encountered: