Strip console, alert, and debugger statements from JavaScript code
JavaScript
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
fixture
.editorconfig
.gitattributes
.gitignore
.jshintrc
.travis.yml
Brocfile.js
index.js
license
package.json
readme.md
test.js

readme.md

broccoli-strip-debug Build Status

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

Install

$ npm install --save-dev broccoli-strip-debug

Usage

var stripDebug = require('broccoli-strip-debug');
tree = stripDebug(tree);

License

MIT © Sindre Sorhus