-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpostcss.config.js
More file actions
24 lines (21 loc) · 666 Bytes
/
postcss.config.js
File metadata and controls
24 lines (21 loc) · 666 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
const webpack = require('webpack')
const autoprefixer = require('autoprefixer')
const postCSSImport = require('postcss-import')
const postCSSNested = require('postcss-nested')
const postCssCssVariables = require('postcss-css-variables')()
const postCSSInlineSVG = require('postcss-inline-svg')()
const postCSSAutoprefixer = autoprefixer({ browsers: ['IE 9', 'iOS 7'] })
const postCssImport = postCSSImport({
addDependencyTo: webpack,
})
const colorFunction = require('postcss-color-function')
module.exports = {
plugins: [
postCssImport,
postCSSAutoprefixer,
postCSSNested,
postCssCssVariables,
postCSSInlineSVG,
colorFunction,
],
}