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

IModuleMinificationSuccessResult interface

Result from the minifier on a successful minification.

Signature:

export interface IModuleMinificationSuccessResult 

Properties

Property Type Description
code string The minified code.
error undefined The error property being undefined indicates success.
extractedComments string[] The array of extracted comments, usually these are license information for 3rd party libraries.
hash string Identity of the request
map RawSourceMap Marker property to always return the same result shape.