forked from turboext/components
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpostcss.config.js
More file actions
31 lines (28 loc) · 739 Bytes
/
postcss.config.js
File metadata and controls
31 lines (28 loc) · 739 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
25
26
27
28
29
30
31
const precss = require('precss');
const postcssImport = require('postcss-import');
const postcssNested = require('postcss-nested');
const postcssAutomath = require('postcss-automath');
const postcssUrl = require('postcss-url');
const autoprefixer = require('autoprefixer');
const postcssReporter = require('postcss-reporter');
const csswring = require('csswring');
const postcssScss = require('postcss-scss');
const browsers = [
'android 4',
'ios 9',
'ie 11'
];
const plugins = [
precss(),
postcssImport(),
postcssNested,
postcssAutomath(),
postcssUrl({ url: 'inline' }),
autoprefixer({ browsers }),
postcssReporter(),
csswring()
];
module.exports = {
plugins,
parser: postcssScss
};