vite-plugin-virtual-mpa
Version:
Out-of-box MPA plugin for Vite, with html template engine and virtual files support.
6 lines (5 loc) • 353 B
TypeScript
import type { Plugin } from 'vite';
import type { AllowedEvent, MpaOptions } from './api-types';
export * from './api-types';
export * from './utils';
export declare function createMpaPlugin<PN extends string, PFN extends string, PT extends string, Event extends AllowedEvent, TPL extends string>(config: MpaOptions<PN, PFN, PT, Event, TPL>): Plugin[];