babel-plugin-remove-debugger
Remove debugger statementsInstallation
$ npm install babel-plugin-remove-debugger
Usage
Via .babelrc
(Recommended)
.babelrc{
"plugins": ["remove-debugger"]
}
Via CLI
$ babel --plugins remove-debugger script.js
Via Node API
require("babel-core").transform("code", {
plugins: ["remove-debugger"]
});