$ npm install babel-plugin-transform-remove-debugger
This plugin removes all debugger;
statements.
In
debugger;
Out
npm install babel-plugin-transform-remove-debugger
.babelrc
(Recommended).babelrc
{
"plugins": ["transform-remove-debugger"]
}
babel --plugins transform-remove-debugger script.js
require("babel-core").transform("code", {
plugins: ["transform-remove-debugger"]
});
© 2010 - cnpmjs.org x YWFE | Home | YWFE