mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
fix(schema): mark vite server as optional (#7327)
This commit is contained in:
parent
6b3a1a4256
commit
bb8942a401
@ -41,17 +41,17 @@ export interface ViteConfig extends ViteUserConfig {
|
|||||||
* Bundler for dev time server-side rendering.
|
* Bundler for dev time server-side rendering.
|
||||||
* @default 'vite-node'
|
* @default 'vite-node'
|
||||||
*/
|
*/
|
||||||
devBundler?: 'vite-node' | 'legacy',
|
devBundler?: 'vite-node' | 'legacy'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Warmup vite entrypoint caches on dev startup.
|
* Warmup vite entrypoint caches on dev startup.
|
||||||
*/
|
*/
|
||||||
warmupEntry?: boolean,
|
warmupEntry?: boolean
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use environment variables or top level `server` options to configure Nuxt server.
|
* Use environment variables or top level `server` options to configure Nuxt server.
|
||||||
*/
|
*/
|
||||||
server: never
|
server?: never
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user