-
Notifications
You must be signed in to change notification settings - Fork 0
/
postcss.config.js
38 lines (31 loc) · 993 Bytes
/
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
module.exports = {
plugins: [
// https://www.npmjs.com/package/postcss-import
require("postcss-import")(),
// https://www.npmjs.com/package/postcss-mixins
require("postcss-mixins")(),
// https://www.npmjs.com/package/postcss-functions
require("postcss-functions")({
functions: require("./postcss.functions"),
}),
// https://www.npmjs.com/package/postcss-hidden
require("postcss-hidden")(),
// https://www.npmjs.com/package/postcss-preset-env
require("postcss-preset-env")({
features: {
"all-property": { reset: "inherited" },
"custom-properties": true,
},
preserve: true,
stage: 1,
}),
// https://www.npmjs.com/package/postcss-calc
require("postcss-calc")(),
// https://www.npmjs.com/package/postcss-nested
require("postcss-nested")(),
// https://www.npmjs.com/package/postcss-reporter
require("postcss-reporter")({
clearReportedMessages: true,
}),
],
}