Interface: IBaseWebpackPlugin
Implemented by
Properties
appType
• Optional
appType: AppType
Defined in
apply
• apply: (compiler
: any
) => void
Type declaration
▸ (compiler
): void
Parameters
Name | Type |
---|---|
compiler | any |
Returns
void
Defined in
options
• options: Required
<Omit
<UserDefinedOptions
, "customReplaceDictionary"
| "supportCustomLengthUnitsPatch"
| GlobOrFunctionMatchers
> & { cssMatcher
: (name
: string
) => boolean
; htmlMatcher
: (name
: string
) => boolean
; jsMatcher
: (name
: string
) => boolean
; mainCssChunkMatcher
: (name
: string
, appType?
: AppType
) => boolean
; wxsMatcher
: (name
: string
) => boolean
} & { cache
: ICreateCacheReturnType
; customReplaceDictionary
: Record
<string
, string
> ; escapeMap
: Record
<string
, string
> ; jsHandler
: JsHandler
; patch
: () => void
; setMangleRuntimeSet
: (runtimeSet
: Set
<string
>) => void
; styleHandler
: (rawSource
: string
, options
: IStyleHandlerOptions
) => Promise
<string
> ; supportCustomLengthUnitsPatch
: false
| ILengthUnitsPatchOptions
; templateHandler
: (rawSource
: string
, options?
: ITemplateHandlerOptions
) => string
}>