How to use the minification.removeDebugger transformer.
Remove all debugger;
statements.
require("babel").transform("code", { optional: ["minification.removeDebugger"] });
$ babel --optional minification.removeDebugger script.js
In
debugger;
Out