Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/module-minifier > NoopMinifier

NoopMinifier class

Minifier implementation that does not actually transform the code, for debugging.

Signature:

export declare class NoopMinifier implements IModuleMinifier 

Implements: IModuleMinifier

Methods

Method

Modifiers

Description

connect()

connectAsync()

Prevents the minifier from shutting down until the returned disconnect() 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

minify(request, callback)

No-op code transform.