diff --git a/src/node/plugin.ts b/src/node/plugin.ts index 9c8e9f504a83..e3ce80ae9356 100644 --- a/src/node/plugin.ts +++ b/src/node/plugin.ts @@ -37,7 +37,7 @@ export function createVitePressPlugin( ssr = false, pageToHashMap?: Record, clientJSMap?: Record -): Plugin[] { +) { const { srcDir, configPath, @@ -273,5 +273,5 @@ export function createVitePressPlugin( } } - return [vitePressPlugin, vuePlugin] + return [vitePressPlugin, vuePlugin, ...(userViteConfig?.plugins || [])] }