From bfc85805de3b2a386a9cb8febf31c2abd41418f7 Mon Sep 17 00:00:00 2001 From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> Date: Wed, 14 Jun 2023 01:08:20 +0530 Subject: [PATCH] chore(types): sync `ServerOptions` with vite x-ref: https://github.com/vitejs/vite/pull/13482 --- src/node/server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/server.ts b/src/node/server.ts index 85c82d98..ebf0aedf 100644 --- a/src/node/server.ts +++ b/src/node/server.ts @@ -5,7 +5,7 @@ import { createVitePressPlugin } from './plugin' export async function createServer( root: string = process.cwd(), - serverOptions: ServerOptions = {}, + serverOptions: ServerOptions & { base?: string } = {}, recreateServer?: () => Promise ) { const config = await resolveConfig(root)