On this page

Configuration object for web performance recommendations.

performanceOptions.assetFilter(name, source, assetInfo): boolean
Attributes
name:string
source:Source
assetInfo:AssetInfo
Returns:boolean

Filter function to select assets that are checked.

Type:false | "error" | "warning"

Sets the format of the hints: warnings, errors or nothing at all.

Type:number

File size limit (in bytes) when exceeded, that webpack will provide performance hints.

Type:number

Total size of an entry point (in bytes).