-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpostcss.config.cjs
30 lines (29 loc) · 917 Bytes
/
postcss.config.cjs
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
const postcssRelativeColorSyntax = require("@csstools/postcss-relative-color-syntax");
const cssnano = require("cssnano");
const combineSelectors = require("postcss-combine-duplicated-selectors");
const postcssPresetEnv = require("postcss-preset-env");
module.exports = {
plugins: [
postcssRelativeColorSyntax(),
postcssPresetEnv({
stage: 0,
autoprefixer: true,
features: {
"logical-properties-and-values": false,
"prefers-color-scheme-query": false,
"gap-properties": false,
"custom-properties": false,
"place-properties": false,
"not-pseudo-class": false,
"focus-visible-pseudo-class": false,
"focus-within-pseudo-class": false,
"color-functional-notation": false,
"custom-media-queries": { preserve: false },
},
}),
combineSelectors(),
cssnano({
preset: "default",
}),
],
};