2024-09-11 00:03:13 +08:00

12 lines
328 B
TypeScript

import { getDirname, path } from 'vuepress/utils'
import type { Plugin } from 'vuepress/core'
const __dirname = getDirname(import.meta.url)
export function contentUpdatePlugin(): Plugin {
return {
name: '@vuepress-plume/plugin-content-update',
clientConfigFile: path.resolve(__dirname, '../client/config.js'),
}
}