grunt-strip-debug

2.0.0 • Public • Published

grunt-strip-debug Build Status

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

Install

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

Usage

require('load-grunt-tasks')(grunt);
 
grunt.initConfig({
    stripDebug: {
        dist: {
            files: {
                'dist/app.js': 'src/app.js'
            }
        }
    }
});
 
grunt.registerTask('default', ['stripDebug']);

License

MIT © Sindre Sorhus

Package Sidebar

Install

npm i grunt-strip-debug

Weekly Downloads

10

Version

2.0.0

License

MIT

Unpacked Size

2.91 kB

Total Files

4

Last publish

Collaborators

  • sindresorhus