mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +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)
|
||||
vite?: ConfigSchema['vite']
|
||||
runtimeConfig?: Overrideable<RuntimeConfig>
|
||||
webpack?: ConfigSchema['webpack'] & {
|
||||
$client?: ConfigSchema['webpack']
|
||||
$server?: ConfigSchema['webpack']
|
||||
webpack?: DeepPartial<ConfigSchema['webpack']> & {
|
||||
$client?: DeepPartial<ConfigSchema['webpack']>
|
||||
$server?: DeepPartial<ConfigSchema['webpack']>
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user