| 18 | type GridValue = 'autoplace' | 'no-autoplace' |
| 19 | |
| 20 | interface Options { |
| 21 | /** environment for `Browserslist` */ |
| 22 | env?: string |
| 23 | |
| 24 | /** should Autoprefixer use Visual Cascade, if CSS is uncompressed */ |
| 25 | cascade?: boolean |
| 26 | |
| 27 | /** should Autoprefixer add prefixes. */ |
| 28 | add?: boolean |
| 29 | |
| 30 | /** should Autoprefixer [remove outdated] prefixes */ |
| 31 | remove?: boolean |
| 32 | |
| 33 | /** should Autoprefixer add prefixes for @supports parameters. */ |
| 34 | supports?: boolean |
| 35 | |
| 36 | /** should Autoprefixer add prefixes for flexbox properties */ |
| 37 | flexbox?: boolean | 'no-2009' |
| 38 | |
| 39 | /** should Autoprefixer add IE 10-11 prefixes for Grid Layout properties */ |
| 40 | grid?: boolean | GridValue |
| 41 | |
| 42 | /** custom usage statistics for > 10% in my stats browsers query */ |
| 43 | stats?: Stats |
| 44 | |
| 45 | /** |
| 46 | * list of queries for target browsers. |
| 47 | * Try to not use it. |
| 48 | * The best practice is to use `.browserslistrc` config or `browserslist` key in `package.json` |
| 49 | * to share target browsers with Babel, ESLint and Stylelint |
| 50 | */ |
| 51 | overrideBrowserslist?: string | string[] |
| 52 | |
| 53 | /** do not raise error on unknown browser version in `Browserslist` config. */ |
| 54 | ignoreUnknownVersions?: boolean |
| 55 | } |
| 56 | |
| 57 | interface ExportedAPI { |
| 58 | /** Autoprefixer data */ |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…