forked from MoOx/postcss-cssnext
-
Notifications
You must be signed in to change notification settings - Fork 0
/
features-activation-map.js
30 lines (30 loc) · 1.1 KB
/
features-activation-map.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Some features might affect others (eg: var() in a calc()
// in order to prevent issue, the map contains a sort of dependencies list
//
// null == always enable (& no caniuse data)
export default {
customProperties: [ "css-variables" ],
// calc() transformation only make sense with transformed custom properties,
// don't you think ?
// calc: null,
// @todo open PR on caniuse repo https://github.com/Fyrd/caniuse
// customMedia: [ null ],
// mediaQueriesRange: [ null ],
// customSelectors: [ null ],
// colorRebeccapurple: [ null ], // @todo can be done easily
// colorHwb: [ null ],
// colorGray: [ null ],
// colorHexAlpha: [ null ],
// colorFunction:[ null],
// fontVariant: [ null ],
// @todo can be done using a callback, this is only used for Firefox < 35
// filter: [ null ],
initial: [ "css-all", "css-initial-value" ],
rem: [ "rem" ],
pseudoElements: [ "css-gencontent" ],
// pseudoClassMatches: [ null ],
// pseudoClassNot: [ null ],
colorRgba: [ "css3-colors" ],
// will always be null since autoprefixer does the same game as we do
// autoprefixer: [ null ]
}