RoadmapShopEvents
Skip to main content

Home > @rushstack/webpack5-module-minifier-plugin > IModuleMinifierPluginHooks

IModuleMinifierPluginHooks interface

Hooks provided by the ModuleMinifierPlugin

Signature:

export interface IModuleMinifierPluginHooks 

Properties

PropertyModifiersTypeDescription
postProcessCodeFragmentSyncWaterfallHook<[sources.ReplaceSource, IPostProcessFragmentContext]>Hook invoked on code after it has been returned from the minifier.
rehydrateAssetsAsyncSeriesWaterfallHook<[IDehydratedAssets, Compilation]>Hook invoked at the start of optimizeChunkAssets to rehydrate the minified boilerplate and runtime into chunk assets.