2.0.0 • Published 8 years ago
grunt-strip-debug v2.0.0
grunt-strip-debug 
Strip
console,alert, anddebuggerstatements from JavaScript code with strip-debug
Install
$ npm install --save-dev grunt-strip-debugUsage
require('load-grunt-tasks')(grunt);
grunt.initConfig({
	stripDebug: {
		dist: {
			files: {
				'dist/app.js': 'src/app.js'
			}
		}
	}
});
grunt.registerTask('default', ['stripDebug']);License
MIT © Sindre Sorhus