1 | // Some features might affect others (eg: var() in a calc()
|
2 | // in order to prevent issue, the map contains a sort of dependencies list
|
3 | //
|
4 | // null == always enable (& no caniuse data)
|
5 | export default {
|
6 | customProperties: [ "css-variables" ],
|
7 | // applyRule: [ null ],
|
8 | // calc() transformation only make sense with transformed custom properties,
|
9 | // don't you think ?
|
10 | // calc: [ null ],
|
11 | // nesting: [ null ],
|
12 | // @todo open PR on caniuse repo https://github.com/Fyrd/caniuse
|
13 | // customMedia: [ null ],
|
14 | // mediaQueriesRange: [ null ],
|
15 | // customSelectors: [ null ],
|
16 | attributeCaseInsensitive: [ "css-case-insensitive" ],
|
17 | colorRebeccapurple: [ "css-rebeccapurple" ],
|
18 | // colorHsl: [ null ],
|
19 | // colorHwb: [ null ],
|
20 | // colorRgb: [ null ],
|
21 | // colorGray: [ null ],
|
22 | colorHexAlpha: [ "css-rrggbbaa" ],
|
23 | // colorFunction:[ null],
|
24 | // fontVariant: [ null ],
|
25 | // @todo can be done using a callback, this is only used for Firefox < 35
|
26 | filter: [ "css-filters" ],
|
27 | initial: [ "css-all", "css-initial-value" ],
|
28 | rem: [ "rem" ],
|
29 | pseudoElements: [ "css-gencontent" ],
|
30 | pseudoClassMatches: [ "css-matches-pseudo" ],
|
31 | pseudoClassNot: [ "css-not-sel-list" ],
|
32 | // pseudoClassAnyLink: [ null ],
|
33 | colorRgba: [ "css3-colors" ],
|
34 | overflowWrap: [ "wordwrap" ],
|
35 | imageSet: [ "css-image-set" ],
|
36 | // will always be null since autoprefixer does the same game as we do
|
37 | // autoprefixer: [ null ]
|
38 | }
|