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

IModuleMinifier interface

Object that can be invoked to minify code.


export interface IModuleMinifier 


Property Type Description
minify IModuleMinifierFunction  


Method Description
ref() Prevents the minifier from shutting down until the returned callback is invoked. The callback may be used to surface errors encountered by the minifier that may not be relevant to a specific file. It should be called to allow the minifier to cleanup