fix(schema): mark vite server as optional (#7327)

This commit is contained in:
Daniel Roe 2022-09-07 16:38:15 +01:00 committed by GitHub
parent 6b3a1a4256
commit bb8942a401
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
} }