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

IModuleMinificationErrorResult interface

Result from the minifier function when an error is encountered.

Signature:

export interface IModuleMinificationErrorResult 

Properties

Property Type Description
code? undefined (Optional) Marker property to always return the same result shape.
error Error The error encountered, to be added to the current compilation’s error collection.
extractedComments? undefined (Optional) Marker property to always return the same result shape.
hash string Identity of the request
map? undefined (Optional) Marker property to always return the same result shape.