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

IWorkerPoolMinifierOptions interface

Options for configuring the WorkerPoolMinifier


export interface IWorkerPoolMinifierOptions 


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