forked from csstools/postcss-preset-env
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tape.js
114 lines (114 loc) · 2.58 KB
/
.tape.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
module.exports = {
'postcss-preset-env': {
'basic': {
message: 'supports basic usage'
},
'basic:ff49': {
message: 'supports { browsers: "ff >= 49" } usage',
options: {
browsers: 'ff >= 49'
}
},
'basic:ch38': {
message: 'supports { browsers: "chrome >= 38" } usage',
options: {
browsers: 'chrome >= 38'
}
},
'basic:stage1': {
message: 'supports { stage: 1 } usage',
options: {
stage: 1
}
},
'basic:stage1-ff49': {
message: 'supports { browsers: "ff >= 49", stage: 1 } usage',
options: {
browsers: 'ff >= 49',
stage: 1
}
},
'basic:nesting': {
message: 'supports { stage: false, features: { "css-nesting": true } } usage',
options: {
stage: false,
features: {
'css-nesting': true
}
}
},
'css-variables': {
message: 'supports { browsers: "ie >= 10" } usage',
options: {
browsers: 'ie >= 10'
}
},
'css-variables:disabled': {
message: 'supports { browsers: "ie >= 10", features: { "css-variables": false } } usage',
options: {
browsers: 'ie >= 10',
features: {
'css-variables': false
}
}
},
'insert:before': {
message: 'supports { stage: 2, before: { "css-color-modifying-colors": [ require("postcss-simple-vars") ] } } usage',
options: {
stage: 2,
insertBefore: {
'css-color-modifying-colors': [
require('postcss-simple-vars')
]
}
}
},
'insert:after': {
message: 'supports { stage: 2, after: { "css-color-modifying-colors": [ require("postcss-simple-vars")() ] } } usage',
options: {
stage: 2,
insertAfter: {
'css-color-modifying-colors': require('postcss-simple-vars')
},
features: {
'css-color-modifying-colors': {
unresolved: 'warn'
}
}
},
warning: 2
},
'insert:after:exec': {
message: 'supports { stage: 2, after: { "css-color-modifying-colors": require("postcss-simple-vars")() } } usage',
options: {
stage: 2,
insertAfter: {
'css-color-modifying-colors': require('postcss-simple-vars')()
},
features: {
'css-color-modifying-colors': {
unresolved: 'ignore'
}
}
},
expect: 'insert.after.expect.css'
},
'insert:after:array': {
message: 'supports { stage: 2, after: { "css-color-modifying-colors": [ require("postcss-simple-vars") ] } } usage',
options: {
stage: 2,
insertAfter: {
'css-color-modifying-colors': [
require('postcss-simple-vars')
]
},
features: {
'css-color-modifying-colors': {
unresolved: 'ignore'
}
}
},
expect: 'insert.after.expect.css'
}
}
};