-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpostcss.config.js
More file actions
37 lines (37 loc) · 811 Bytes
/
postcss.config.js
File metadata and controls
37 lines (37 loc) · 811 Bytes
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
module.exports = {
plugins: [
require('postcss-custom-properties')( {
importFrom: `css/${require('./package.json').name}-variables.css`,
preserve: true
} ),
require('autoprefixer')( {
cascade: false
} ),
require('postcss-pxtorem')( {
rootValue: 16,
unitPrecision: 5,
propList: [
'font',
'font-size',
'padding',
'padding-top',
'padding-right',
'padding-bottom',
'padding-left',
'margin',
'margin-top',
'margin-right',
'margin-bottom',
'margin-left',
'bottom',
'top',
'max-width'
],
selectorBlackList: [],
replace: false,
mediaQuery: true,
minPixelValue: 0
} ),
require('postcss-typescale')
]
}