README.md 420 Bytes

babel-plugin-remove-debugger

Remove debugger statements

Installation

$ 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"]
});