UNPKG

unplugin-info

Version:

Export build information as virutal module

25 lines (23 loc) 450 B
interface Options { /** * Git repo root path */ root?: string; /** * Github repo url */ github?: string; /** * Custom virtual module prefix * * @default '~build' */ prefix?: string; /** * Pass some meta data to Vite app * * Notice: meta data will be serialized to JSON format */ meta?: Record<string | number | symbol, any>; } export type { Options as O };