RoadmapShopEvents
Skip to main content

Home > @rushstack/module-minifier-plugin > PortableMinifierModuleIdsPlugin

PortableMinifierModuleIdsPlugin class

Plugin responsible for converting the Webpack module ids (of whatever variety) to stable ids before code is handed to the minifier, then back again. Uses the node module identity of the target module. Will emit an error if it encounters multiple versions of the same package in the same compilation.

Signature:
export declare class PortableMinifierModuleIdsPlugin implements Plugin 
Implements: Plugin

Constructors

ConstructorModifiersDescription
(constructor)(minifierHooks)Constructs a new instance of the PortableMinifierModuleIdsPlugin class

Methods

MethodModifiersDescription
apply(compiler)