broccoli-strip-debug

Strip console and debugger statements from JavaScript code

broccoli-strip-debug

Strip console, alert, and debugger statements from JavaScript code with strip-debug

$ npm install --save broccoli-strip-debug
var stripDebug = require('broccoli-strip-debug');
tree = stripDebug(tree);

MIT © Sindre Sorhus