UNPKG

827 BTypeScriptView Raw
1/// <reference types="node" />
2import { OutputBundle, Plugin } from "rollup";
3
4declare namespace css {
5 interface Options {
6 /**
7 * All CSS files will be parsed by default, but you can also specifically include files
8 */
9 include?: ReadonlyArray<string | RegExp> | string | RegExp | null;
10 /**
11 * CSS files to exclude from being parsed
12 */
13 exclude?: ReadonlyArray<string | RegExp> | string | RegExp | null;
14 /**
15 * Callback that will be called ongenerate
16 */
17 output?:
18 | boolean
19 | string
20 | ((styles: string, styleNodes: Record<string, string>, bundle: OutputBundle) => void)
21 | null
22 | undefined;
23 }
24}
25
26declare function css(options?: css.Options): Plugin;
27export = css;
28
\No newline at end of file