babel / minify

:scissors: An ES6+ aware minifier based on the Babel toolchain (beta)
https://babeljs.io/repl
MIT License
4.39k stars 225 forks source link

`if (false) { foo; }` will throw an error #1050

Closed moseszhou closed 5 months ago

moseszhou commented 5 months ago

babel-plugin-minify-dead-code-elimination

if (false) { foo; } will throw an error