Webpack Uglify Parallel Save Abandoned

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

Project README

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
        })
    ]
}

Open Source Agenda is not affiliated with "Webpack Uglify Parallel" Project. README Source: tradingview/webpack-uglify-parallel
Stars
143
Open Issues
5
Last Commit
4 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating