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

IModuleMinifier.ref() method

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


ref?(): () => Promise<void>;


() => Promise<void>