|
|
@ -37,7 +37,7 @@ export function createVitePressPlugin(
|
|
|
|
ssr = false,
|
|
|
|
ssr = false,
|
|
|
|
pageToHashMap?: Record<string, string>,
|
|
|
|
pageToHashMap?: Record<string, string>,
|
|
|
|
clientJSMap?: Record<string, string>
|
|
|
|
clientJSMap?: Record<string, string>
|
|
|
|
): Plugin[] {
|
|
|
|
) {
|
|
|
|
const {
|
|
|
|
const {
|
|
|
|
srcDir,
|
|
|
|
srcDir,
|
|
|
|
configPath,
|
|
|
|
configPath,
|
|
|
@ -273,5 +273,5 @@ export function createVitePressPlugin(
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return [vitePressPlugin, vuePlugin, ...(userViteConfig?.plugins || []) as Plugin[]]
|
|
|
|
return [vitePressPlugin, vuePlugin, ...(userViteConfig?.plugins || [])]
|
|
|
|
}
|
|
|
|
}
|
|
|
|