From bb8942a401cef3d41c39e9d50e6630e766998c1c Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Wed, 7 Sep 2022 16:38:15 +0100 Subject: [PATCH] fix(schema): mark vite server as optional (#7327) --- packages/schema/src/types/config.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/schema/src/types/config.ts b/packages/schema/src/types/config.ts index 8ae7f650c7..0f8d67fb21 100644 --- a/packages/schema/src/types/config.ts +++ b/packages/schema/src/types/config.ts @@ -41,17 +41,17 @@ export interface ViteConfig extends ViteUserConfig { * Bundler for dev time server-side rendering. * @default 'vite-node' */ - devBundler?: 'vite-node' | 'legacy', + devBundler?: 'vite-node' | 'legacy' /** * 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 + server?: never }