mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-31 07:40:33 +00:00
fix(schema): webpack
options should be optional (#22524)
This commit is contained in:
parent
b5c9a81d68
commit
c2db29c28c
@ -68,9 +68,9 @@ export interface NuxtConfig extends DeepPartial<Omit<ConfigSchema, 'vite' | 'run
|
|||||||
// Avoid DeepPartial for vite config interface (#4772)
|
// Avoid DeepPartial for vite config interface (#4772)
|
||||||
vite?: ConfigSchema['vite']
|
vite?: ConfigSchema['vite']
|
||||||
runtimeConfig?: Overrideable<RuntimeConfig>
|
runtimeConfig?: Overrideable<RuntimeConfig>
|
||||||
webpack?: ConfigSchema['webpack'] & {
|
webpack?: DeepPartial<ConfigSchema['webpack']> & {
|
||||||
$client?: ConfigSchema['webpack']
|
$client?: DeepPartial<ConfigSchema['webpack']>
|
||||||
$server?: ConfigSchema['webpack']
|
$server?: DeepPartial<ConfigSchema['webpack']>
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user