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