From 9bd940f22cae0ec88dc1670a31fb9ebc015e1f92 Mon Sep 17 00:00:00 2001 From: Evan You Date: Sat, 11 Mar 2023 15:47:48 +0800 Subject: [PATCH] fix: remove @vue/devtools from force include --- src/node/plugin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/plugin.ts b/src/node/plugin.ts index 038e6cdeecfa..d4aadcb8bc28 100644 --- a/src/node/plugin.ts +++ b/src/node/plugin.ts @@ -126,7 +126,7 @@ export async function createVitePressPlugin( }, optimizeDeps: { // force include vue to avoid duplicated copies when linked + optimized - include: ['vue', '@vue/devtools-api'], + include: ['vue'], exclude: ['@docsearch/js', 'vitepress'] }, server: {