Home > @rushstack/module-minifier-plugin > IWorkerPoolMinifierOptions

IWorkerPoolMinifierOptions interface

Options for configuring the WorkerPoolMinifier

Signature:

export interface IWorkerPoolMinifierOptions 

Properties

Property Type Description
maxThreads number Maximum number of worker threads to use. Will never use more than there are modules to process. Defaults to os.cpus().length
terserOptions MinifyOptions The options to forward to Terser. output.comments is currently not configurable and will always extract license comments to a separate file.