vite-plugin-meta-tags
Version:
A Vite plug-in to automatically inject meta tags into your index.html
5 lines (4 loc) • 299 B
TypeScript
import type { HtmlTagDescriptor, Plugin } from 'vite';
import type { InjectTo, MetaConfig } from './interface';
export declare function meta(meta: MetaConfig, injectTo?: InjectTo, custom?: (() => HtmlTagDescriptor[]) | HtmlTagDescriptor[] | undefined): Plugin;
export type { MetaConfig, InjectTo };