From 6531f0f44c37694243d8411881a6bc3881f2cb2c Mon Sep 17 00:00:00 2001 From: jasonreyes9 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 85c82d9..ebf0aed 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)