-
Notifications
You must be signed in to change notification settings - Fork 0
/
postcss.config.js
51 lines (51 loc) · 1.33 KB
/
postcss.config.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
export default {
plugins:
process.env.NODE_ENV === "production"
? {
"postcss-preset-env": {
autoprefixer: true,
stage: 2,
features: {
"nesting-rules": true,
"custom-media-queries": {
importFrom: "src/index.css",
},
"all-property": false,
"any-link-pseudo-class": false,
"custom-properties": false,
"font-variant-property": false,
"image-set-function": false,
"is-pseudo-class": false,
"logical-properties-and-values": false,
"not-pseudo-class": false,
"overflow-property": false,
"overflow-wrap-property": false,
"unset-value": false,
},
},
}
: {
"postcss-preset-env": {
autoprefixer: true,
stage: 2,
features: {
"nesting-rules": true,
"custom-media-queries": {
importFrom: "src/index.css",
},
"all-property": false,
"any-link-pseudo-class": false,
"custom-properties": false,
"font-variant-property": false,
"gap-properties": false,
"image-set-function": false,
"is-pseudo-class": false,
"logical-properties-and-values": false,
"not-pseudo-class": false,
"overflow-property": false,
"overflow-wrap-property": false,
"unset-value": false,
},
},
},
};