From 1e7153e18823cc4cad628d3ef2501a0a02f8ac12 Mon Sep 17 00:00:00 2001 From: KyryloNikolaiev 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)