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

IExtendedModule interface

Extension of the webpack Module typings with members that are used by this Plugin

Signature:

export interface IExtendedModule extends webpack.compilation.Module, webpack.Module 

Extends: webpack.compilation.Module, webpack.Module

Properties

Property Type Description
id string | number | null Id for the module
resource string Path to the physical file this module represents
skipMinification boolean If set, bypass the minifier for this module. Useful if the code is known to already be minified.

Methods

Method Description
identifier() Gets a descriptive identifier for the module.
readableIdentifier(requestShortener) Gets a friendly identifier for the module.