-
Notifications
You must be signed in to change notification settings - Fork 43
/
postcss.config.js
57 lines (57 loc) · 1.78 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
52
53
54
55
56
57
module.exports = {
plugins: {
'postcss-assets': {
cachebuster: false,
basePath: 'DistributionPackages/',
baseUrl: '/_Resources/Static/Packages',
loadPaths: ['**/Resources/Public/**/*']
},
'postcss-url': {
filter: /\/_Resources\/Static\/Packages\/[\w]+\.[\w]+\/Resources\/Public\/.*/,
url: asset => asset.url.replace('/Resources/Public/', '/')
},
'postcss-normalize': {
allowDuplicates: false,
forceImport: false
},
'postcss-preset-env': {
stage: 1,
autoprefixer: false
},
'postcss-easing-gradients': {
colorStops: 15,
alphaDecimals: 5,
colorMode: 'lrgb'
},
'postcss-vmax': true,
'postcss-clip-path-polyfill': true,
'postcss-responsive-type': true,
'postcss-easings': true,
'postcss-focus': true,
'pleeease-filters': true,
'postcss-quantity-queries': true,
'postcss-momentum-scrolling': ['scroll', 'auto', 'inherit'],
'postcss-flexbugs-fixes': true,
'postcss-calc': true,
'postcss-round-subpixels': true,
'postcss-pxtorem': {
rootValue: 16,
unitPrecision: 5,
propList: ['font', 'font-size', 'line-height', 'letter-spacing'],
selectorBlackList: [],
replace: true,
mediaQuery: false,
minPixelValue: 0
},
'postcss-sort-media-queries': true,
autoprefixer: {
grid: true
},
cssnano: {
preset: ['default', { discardComments: { removeAll: true } }]
},
'postcss-reporter': {
clearReportedMessages: true
}
}
};