svelte-native-preprocessor
Version:
A pre processor for [Svelte-Native](https://github.com/halfnelson/svelte-native).
13 lines (12 loc) • 374 B
TypeScript
export interface SveltePreprocessorInput {
content: string;
filename: string;
}
export interface SveltePreprocessorOutput {
code: string;
map: string;
}
export interface SveltePreprocessorDefinition {
markup: (source: SveltePreprocessorInput) => SveltePreprocessorOutput;
}
export default function preprocess(): SveltePreprocessorDefinition;