Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/module-minifier > IModuleMinificationErrorResult

IModuleMinificationErrorResult interface

Result from the minifier function when an error is encountered.

Signature:

export interface IModuleMinificationErrorResult 

Properties

Property

Modifiers

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.

hash

string

Identity of the request

map?

undefined

(Optional) Marker property to always return the same result shape.