Incremental Uglify JS for webpack
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example Use hash cached rules instead of mt Aug 11, 2016
utils
.gitignore Use hash cached rules instead of mt Aug 11, 2016
README.md Update readme Jun 23, 2016
index.js
package.json Use hash cached rules instead of mt Aug 11, 2016

README.md

webpack-uglify-js-plugin

Incremental Uglify JS for webpack

Install

To install the latest release:

npm install webpack-uglify-js-plugin

Usage

Once webpack-uglify-js-plugin is installed in your project, you can use like this:

var webpackUglifyJsPlugin = require('webpack-uglify-js-plugin');

new webpackUglifyJsPlugin({
  cacheFolder: path.resolve(__dirname, 'public/cached_uglify/'),
  debug: true,
  minimize: true,
  sourceMap: false,
  output: {
    comments: false
  },
  compressor: {
    warnings: false
  }
})