Home > @rushstack/module-minifier > LocalMinifier
LocalMinifier class
Minifier implementation that minifies code on the main thread.
Signature:
export declare class LocalMinifier implements IModuleMinifier
Implements: IModuleMinifier
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(options) | Constructs a new instance of the LocalMinifier class |
Methods
Method | Modifiers | Description |
---|---|---|
connect() | ||
minify(request, callback) | Transform that invokes Terser on the main thread |