1.0.0 • Published 8 years ago

strip-debug-loader v1.0.0

Weekly downloads
31
License
MIT
Repository
github
Last release
8 years ago

strip-debug-loader

Remove debug statements from your code using webpack.

Alerts and console.log() will be removed from your code.

Use especially for production build.

Usage

module.exports = {
  entry: './src/index.js',
  output: {
    path: __dirname,
    filename: 'dist/index.js'
  },
  module: {
    loaders: [
      { test: /\.js$/, loader: 'strip-debug' }
    ]
  }
};