1 | export = pluginCreator;
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 | declare function pluginCreator(config?: Options): import('postcss').Plugin;
|
22 | declare namespace pluginCreator {
|
23 | export { postcss, MinifyColorOptions, AutoprefixerOptions, BrowserslistOptions, Options };
|
24 | }
|
25 | type Options = MinifyColorOptions & AutoprefixerOptions & BrowserslistOptions;
|
26 | declare var postcss: true;
|
27 | type MinifyColorOptions = {
|
28 | hex?: boolean | undefined;
|
29 | alphaHex?: boolean | undefined;
|
30 | rgb?: boolean | undefined;
|
31 | hsl?: boolean | undefined;
|
32 | name?: boolean | undefined;
|
33 | transparent?: boolean | undefined;
|
34 | };
|
35 | type AutoprefixerOptions = {
|
36 | overrideBrowserslist?: string | string[];
|
37 | };
|
38 | type BrowserslistOptions = Pick<browserslist.Options, 'stats' | 'path' | 'env'>;
|
39 | import browserslist = require("browserslist");
|
40 |
|
\ | No newline at end of file |