UNPKG

@knightly/vite

Version:

Native-ESM powered web dev build tool. It's fast.

21 lines (20 loc) 674 B
import { ServerPlugin } from '.'; import { SFCDescriptor, SFCStyleCompileResults, BindingMetadata } from '@vue/compiler-sfc'; import LRUCache from 'lru-cache'; import { SourceMap } from './serverPluginSourceMap'; export declare const srcImportMap: Map<any, any>; interface CacheEntry { descriptor?: SFCDescriptor; template?: ResultWithMap; script?: ResultWithMap; styles: SFCStyleCompileResults[]; customs: string[]; } interface ResultWithMap { code: string; map: SourceMap | null | undefined; bindings?: BindingMetadata; } export declare const vueCache: LRUCache<string, CacheEntry>; export declare const vuePlugin: ServerPlugin; export {};