UNPKG

vite-plugin-symfony

Version:

A Vite plugin to integrate easily Vite in your Symfony application

36 lines (31 loc) 572 B
export type ControllerConfig = { enabled?: boolean; fetch?: "eager" | "lazy"; /** * equivalent to controller identifier */ name?: string; autoimport?: { [path: string]: boolean; }; /** * Entrypoint. * if module is set : commonjs entrypoint */ main?: string; /** * for the future ? * ESM entrypoint */ module?: string; }; export type ControllersFileContent = { controllers: { [packageName: string]: { [controllerName: string]: ControllerConfig; }; }; entrypoints: { [key: string]: string; }; };