UNPKG

@gitbutler/svelte-comment-injector

Version:

A Svelte preprocessor that injects HTML comments for identifying components in browser DevTools.

18 lines 483 B
interface svelteInjectOptions { enabled?: boolean; showEndComment?: boolean; showFullPath?: boolean; } /** * Svelte preprocessor that injects HTML comments at the start and end of each component — in dev only. */ export default function svelteInjectComment(options?: svelteInjectOptions): { markup({ content, filename }: { content: string; filename?: string; }): { code: string; }; }; export {}; //# sourceMappingURL=index.d.ts.map