UNPKG

1.42 kBJavaScriptView Raw
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)
5export 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 // @todo wait https://github.com/Fyrd/caniuse/issues/1271
18 // colorRebeccapurple: [ null ],
19 // colorHsl: [ null ],
20 // colorHwb: [ null ],
21 // colorRgb: [ null ],
22 // colorGray: [ null ],
23 colorHexAlpha: [ "css-rrggbbaa" ],
24 // colorFunction:[ null],
25 // fontVariant: [ null ],
26 // @todo can be done using a callback, this is only used for Firefox < 35
27 filter: [ "css-filters" ],
28 initial: [ "css-all", "css-initial-value" ],
29 rem: [ "rem" ],
30 pseudoElements: [ "css-gencontent" ],
31 pseudoClassMatches: [ "css-matches-pseudo" ],
32 pseudoClassNot: [ "css-not-sel-list" ],
33 // pseudoClassAnyLink: [ null ],
34 colorRgba: [ "css3-colors" ],
35 overflowWrap: [ "wordwrap" ],
36 // will always be null since autoprefixer does the same game as we do
37 // autoprefixer: [ null ]
38}