MCPcopy
hub / github.com/sveltejs/svelte-preprocess / Transformers

Interface Transformers

src/types/index.ts:51–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49export type TransformerOptions<T = any> = boolean | T | Transformer<T>;
50
51export interface Transformers {
52 babel?: TransformerOptions<Options.Babel>;
53 typescript?: TransformerOptions<Options.Typescript>;
54 scss?: TransformerOptions<Options.Sass>;
55 sass?: TransformerOptions<Options.Sass>;
56 less?: TransformerOptions<Options.Less>;
57 stylus?: TransformerOptions<Options.Stylus>;
58 postcss?: TransformerOptions<Options.Postcss>;
59 coffeescript?: TransformerOptions<Options.Coffeescript>;
60 pug?: TransformerOptions<Options.Pug>;
61 globalStyle?: Options.GlobalStyle;
62 replace?: Options.Replace;
63 [language: string]: TransformerOptions;
64}
65
66export type AutoPreprocessGroup = PreprocessorGroup;
67

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected