Home > @rushstack/module-minifier > IWorkerPoolMinifierOptions
IWorkerPoolMinifierOptions interface
Options for configuring the WorkerPoolMinifier
Signature:
export interface IWorkerPoolMinifierOptions 
Properties
| Property | Modifiers | 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.commentsis currently not configurable and will always extract license comments to a separate file. | |
| verbose? | boolean | (Optional) If true, log to the console about the minification results. |