forked from fullcalendar/fullcalendar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
postcss.config.js
19 lines (17 loc) · 874 Bytes
/
postcss.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
module.exports = {
parser: require('postcss-comment'), // for "//" style comments
plugins: [
require('postcss-advanced-variables'),
require('postcss-nesting'),
require('@arshaw/postcss-custom-properties')({ // a fork that does preserveWithFallback
importFrom: './packages/common/src/styles/vars.css', // available to all stylesheets
preserve: true, // keep var statements intact (but still reduce their value in a second statement)
preserveWithFallback: true // the preserved var statements will have a fallback value
}),
require('@arshaw/postcss-calc'), // a fork that ensures important spaces (issue 5503)
require('autoprefixer')
// TODO: remove empty blocks
// apparently it should automatically work with postcss-nesting, but doesn't seem to
// https://github.com/jonathantneal/postcss-nesting/issues/19
]
}