blob: 0a04a8ba1f6a857f3637f6154432442d0b98a2a9 (
plain)
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
|
const cssnano = require('cssnano')
const postcssWillChange = require('postcss-will-change')
// const autoprefixer = require('autoprefixer')
const postcssColorRgbaFallback = require('postcss-color-rgba-fallback')
const postcssOpacity = require('postcss-opacity')
const postcssPseudoelements = require('postcss-pseudoelements')
const postcssVmin = require('postcss-vmin')
const pixrem = require('pixrem')
const postcssFixes = require('postcss-fixes')
const rucksackCss = require('rucksack-css')
const postcssImport = require('postcss-import')
const postcssNested = require('postcss-nested')
module.exports = {
plugins: [
cssnano({ preset: 'default' }),
postcssWillChange(),
// autoprefixer(),
postcssColorRgbaFallback(),
postcssPseudoelements(),
postcssVmin(),
postcssFixes(),
rucksackCss(),
postcssImport(),
postcssNested(),
],
};
|