fix(schema): disallow setting vite server properties (#7317)

This commit is contained in:
Alexander Lichter 2022-09-07 13:26:06 +02:00 committed by GitHub
parent 8a56d8137a
commit ec210190d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,12 @@ export interface ViteConfig extends ViteUserConfig {
/**
* Warmup vite entrypoint caches on dev startup.
*/
warmupEntry?: boolean
warmupEntry?: boolean,
/**
* Use environment variables or top level `server` options to configure Nuxt server.
*/
server: never
}