forked from neos/Neos.Demo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpostcss.config.js
More file actions
48 lines (48 loc) · 1.49 KB
/
postcss.config.js
File metadata and controls
48 lines (48 loc) · 1.49 KB
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
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-sort-media-queries': true,
autoprefixer: {
grid: true
},
cssnano: {
preset: ['default', { discardComments: { removeAll: true } }]
},
'postcss-reporter': {
clearReportedMessages: true
}
}
};