Home > @rushstack/module-minifier > MessagePortMinifier
MessagePortMinifier class
Minifier implementation that outsources requests to the other side of a MessagePort
Signature:
export declare class MessagePortMinifier implements IModuleMinifier
Implements: IModuleMinifier
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(port) | Constructs a new instance of the MessagePortMinifier class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
port | readonly | MessagePort |
Methods
Method | Modifiers | Description |
---|---|---|
connect() | ||
minify(request, callback) | No-op code transform. |