-
Notifications
You must be signed in to change notification settings - Fork 2
/
postcss.config.js
47 lines (41 loc) · 1.3 KB
/
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
39
40
41
42
43
44
45
46
47
/**
* PostCSS config
*/
module.exports = {
plugins: {
/**
* Can consume local files, node modules or web_modules.
*
* @see https://github.com/postcss/postcss-import
*/
'postcss-import': {},
/**
* This wraps postcss-nested or postcss-nesting and
* adds compatibility for Tailwind functions
*
* @ee https://tailwindcss.com/docs/using-with-preprocessors#nesting
*/
'tailwindcss/nesting': {},
/**
* Utility-first CSS framework that scans all of our files, and only
* generate styles and classes that we use.
*
* @see https://tailwindcss.com/docs/installation
*/
tailwindcss: { config: './tailwind.config.js' },
/**
* Plugin to parse CSS and add prefixes to CSS rules using
* values from Can I Use.
*
* @see https://github.com/postcss/autoprefixer
*/
autoprefixer: {},
/**
* Automatically detects and combines duplicated css
* selectors so you don't have to 😄
*
* @see https://github.com/ChristianMurphy/postcss-combine-duplicated-selectors
*/
'postcss-combine-duplicated-selectors': { removeDuplicatedValues: true }
},
}