@svelte-put/inline-svg
Version:
solution to inline SVGs in svelte land
12 lines (10 loc) • 425 B
TypeScript
import { PreprocessorConfig } from '../preprocessor/types';
/** configuration for the vite plugin that wraps inline-svg preprocessor */
export type VitePluginConfig = PreprocessorConfig & {
/**
* output path for generated type definition for inline-src attribute.
* Defaults to `null` (no generation).
* Set to `true` to use the default `src/preprocess-inline-svg.d.ts` path.
*/
typedef?: string | null | true;
};