-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpostcss.config.js
35 lines (34 loc) · 962 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
/*import rucksack from 'rucksack-css'
import cssnext from 'postcss-cssnext'
*/
module.exports = {
plugins: [
require('autoprefixer')({
remove : true
}),
require('postcss-zindex'),
require('colorguard'),
// to load assets,
// set relative paths,
// Cache burst(not using at the moment)
// use `resolve('abc.png')` to resolve image accordingly
// more details: https://github.com/borodean/postcss-assets#usage
require('postcss-assets')({
cachebuster : true,
loadPaths : ['fonts/', 'images/']
}),
require('postcss-image-set-polyfill'),
require('postcss-color-rgba-fallback')({
oldie : true
}),
// Grid
require('lost'),
// Syntatical Sugar
// http://simplaio.github.io/rucksack/docs
require('rucksack-css'),
// SASS Like syntax:
// Variables, Loops, Inheritance, Import, Mixins.
// https://github.com/jonathantneal/precss
require('precss')
]
}