UNPKG

vite-plugin-kirby

Version:
26 lines (23 loc) 718 B
import { Plugin } from 'vite'; interface Config { /** * Wether templates, snippets, controllers, models and content changes should * be watched and cause a reload. Either enable/disable it or provide your own * paths to watch. * @see https://github.com/arnoson/vite-plugin-live-reload * @default true */ watch?: boolean | string[]; /** * The directory the `.dev` file is placed. * @default process.cwd() */ devDir?: string; /** * Kirby's config root. * @default 'site/config' */ kirbyConfigDir?: string; } declare const _default: ({ watch, devDir, kirbyConfigDir, }?: Config) => Plugin; export { type Config, _default as default };