Function
chainWebpack
(
chainFn: (config: Config, env: IWebpackEnv) => any,
options?: { order?: number },
)
Source from the content-addressed store, hash-verified
| 145 | * @param options Optional options to control the order in which the chain function should be applied. |
| 146 | */ |
| 147 | export function chainWebpack( |
| 148 | chainFn: (config: Config, env: IWebpackEnv) => any, |
| 149 | options?: { order?: number }, |
| 150 | ) { |
| 151 | webpackChains.push({ |
| 152 | order: options?.order || 0, |
| 153 | chainFn, |
| 154 | plugin: currentPlugin, |
| 155 | }); |
| 156 | } |
| 157 | |
| 158 | /** |
| 159 | * Merge an object into the resolved chain config. |
Callers
nothing calls this directly
Tested by
no test coverage detected