RoadmapShopEvents
Skip to main content

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

IPostProcessFragmentContext interface

Argument to the postProcessCodeFragment hook for the current execution context

Signature:

export interface IPostProcessFragmentContext 

Properties

PropertyModifiersTypeDescription
compilationCompilationThe current webpack compilation, for error reporting
loggingNamestringA name to use for logging
moduleModule | undefinedThe current module being processed, or undefined if not in a module (e.g. the bootstrapper)