Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/module-minifier > IWorkerPoolMinifierOptions

IWorkerPoolMinifierOptions interface

Options for configuring the WorkerPoolMinifier

Signature:

export interface IWorkerPoolMinifierOptions 

Properties

PropertyModifiersTypeDescription
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.
verbose?boolean(Optional) If true, log to the console about the minification results.