mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 23:22:02 +00:00
fix: avoid overriding hooks
input is merged extra
This commit is contained in:
parent
97478dde96
commit
5bfacf1f55
@ -121,7 +121,7 @@ export function getNitroContext (nuxtOptions: NuxtOptions, input: NitroInput): N
|
||||
const _presetInput = defu(input, defaults)
|
||||
// @ts-ignore
|
||||
const _preset = extendPreset(input, presetDefaults)(_presetInput)
|
||||
const nitroContext: NitroContext = defu(input, _preset, defaults) as any
|
||||
const nitroContext: NitroContext = defu(_preset, defaults) as any
|
||||
|
||||
nitroContext.output.dir = resolvePath(nitroContext, nitroContext.output.dir)
|
||||
nitroContext.output.publicDir = resolvePath(nitroContext, nitroContext.output.publicDir)
|
||||
|
Loading…
Reference in New Issue
Block a user