Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/module-minifier > IModuleMinificationSuccessResult

IModuleMinificationSuccessResult interface​

Result from the minifier on a successful minification.

Signature:

export interface IModuleMinificationSuccessResult 

Properties​

Property

Modifiers

Type

Description

code

string

The minified code.

error

undefined

The error property being undefined indicates success.

hash

string

Identity of the request

map?

RawSourceMap

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