Package Exports
- webpack-parallel-uglify-plugin
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (webpack-parallel-uglify-plugin) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
webpack-parallel-uglify-plugin

This plugin serves to help projects with many entry points speed up their builds. The UglifyJS plugin provided with webpack runs sequentially on each of the output files. This plugin runs uglify in parallel with one thread for each of your available cpus. This can lead to significantly reduced build times as minification is very CPU intensive.
Config
Configuring is straightforward.
import ParallelUglifyPlugin from 'webpack-parallel-uglify-plugin';
module.exports = {
plugins: [
new ParallelUglifyPlugin({
cacheDir, // Optional absolute path to use as a cache. If not provided, caching will not be used.
uglifyJS: {
// These pass straight through to uglify.
},
}),
],
};