Function
mergeWebpack
(
mergeFn:
| ((config: Partial<webpack.Configuration>, env: IWebpackEnv) => any)
| Partial<webpack.Configuration>,
)
Source from the content-addressed store, hash-verified
| 161 | * @param mergeFn An object or a function that optionally returns an object (can mutate the object directly and return nothing) |
| 162 | */ |
| 163 | export function mergeWebpack( |
| 164 | mergeFn: |
| 165 | | ((config: Partial<webpack.Configuration>, env: IWebpackEnv) => any) |
| 166 | | Partial<webpack.Configuration>, |
| 167 | ) { |
| 168 | webpackMerges.push(mergeFn); |
| 169 | } |
| 170 | |
| 171 | /** |
| 172 | * Resolve a new instance of the internal chain config with all chain functions applied. |
Callers
nothing calls this directly
Tested by
no test coverage detected