svelte-preprocess
Version:
A Svelte preprocessor wrapper with baked in support for common used preprocessors
10 lines (9 loc) • 452 B
TypeScript
import { PreprocessorArgs } from '../types';
export declare const SOURCE_MAP_PROP_MAP: Record<string, [string, any]>;
export declare const ALIAS_MAP: Map<string, string>;
export declare const addLanguageAlias: (entries: Array<[string, string]>) => void;
export declare const getLanguageFromAlias: (alias: string | null) => string;
export declare const getLanguage: (attributes: PreprocessorArgs['attributes']) => {
lang: string;
alias: any;
};