RoadmapShopEvents
Skip to main content

Home > @rushstack/webpack5-module-minifier-plugin > IModuleMinifierPluginOptions

IModuleMinifierPluginOptions interface

Options to the ModuleMinifierPlugin constructor

Signature:

export interface IModuleMinifierPluginOptions 

Properties

PropertyModifiersTypeDescription
minifierIModuleMinifierMinifier implementation to use. Required.
sourceMap?boolean(Optional) Whether to enable source map processing. If not provided, will attempt to guess based on mode and devtool in the webpack config. Set to false for faster builds at the expense of debuggability.