Skip to content
This repository was archived by the owner on Sep 19, 2019. It is now read-only.

About

Identical to standard uglify webpack plugin, with an option to build multiple files in parallel

Resources

Stars

142 stars

Watchers

4 watching

Forks

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project is deprecated in favor of official uglifyjs plugin, which now supports parallelization

Identical to standard uglify webpack plugin, with an option to build multiple files in parallel

Installation

npm install --save-dev webpack-uglify-parallel

Usage

In webpack.config.js:

var os = require('os');
var UglifyJsParallelPlugin = require('webpack-uglify-parallel');

module.exports = {
    /// ... rest of config
    plugins: [
        new UglifyJsParallelPlugin({
            workers: os.cpus().length, // usually having as many workers as cpu cores gives good results
            // other uglify options
        })
    ]
}

About

Identical to standard uglify webpack plugin, with an option to build multiple files in parallel

Resources

Stars

142 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages