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

IModuleMinificationRequest interface

Request to the minifier

Signature:

export interface IModuleMinificationRequest 

Properties

Property Type Description
code string The raw code fragment
externals string[] | undefined Reserved variable names, e.g. __WEBPACK_EXTERNAL_MODULE_1__
hash string Identity of the request. Will be included in the response.
nameForMap string | undefined File name to show for the source code in the source map