| 4 | import { toArray } from './index.ts' |
| 5 | |
| 6 | export interface WebpackConfigContext { |
| 7 | nuxt: Nuxt |
| 8 | options: NuxtOptions |
| 9 | userConfig: Omit<NuxtOptions['webpack'], '$client' | '$server'> |
| 10 | config: Configuration |
| 11 | name: string |
| 12 | isDev: boolean |
| 13 | isServer: boolean |
| 14 | isClient: boolean |
| 15 | alias: { [index: string]: string | false | string[] } |
| 16 | transpile: RegExp[] |
| 17 | } |
| 18 | |
| 19 | type WebpackConfigPreset = (ctx: WebpackConfigContext, options?: object) => void | Promise<void> |
| 20 | type WebpackConfigPresetItem = WebpackConfigPreset | [WebpackConfigPreset, any] |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…