diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2023-11-05 17:16:28 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2023-11-05 17:16:28 +0800 |
| commit | 9feaf6948e339778447482b5739072361cbc9d55 (patch) | |
| tree | 2b647feec1368c5c082e753823365e262f75cc0f /postcss.config.js | |
| parent | d1d9f00b1bd660842addf5e6b1d1b64c852a9eea (diff) | |
added hover prefixer
Diffstat (limited to 'postcss.config.js')
| -rw-r--r-- | postcss.config.js | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/postcss.config.js b/postcss.config.js index 24084af5..b329f6d4 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -1,7 +1,8 @@ const cssnano = require('cssnano') const postcssPresetEnv = require('postcss-preset-env') const postcssWillChange = require('postcss-will-change') -const autoprefixer = require('autoprefixer') +const postcssPrefixHover = require('postcss-prefix-hover') +// const autoprefixer = require('autoprefixer') const postcssColorRgbaFallback = require('postcss-color-rgba-fallback') const postcssOpacity = require('postcss-opacity') const postcssPseudoelements = require('postcss-pseudoelements') @@ -15,17 +16,18 @@ const postcssNested = require('postcss-nested') module.exports = { plugins: [ - cssnano({ preset: 'default' }), - postcssPresetEnv(), - postcssWillChange(), - autoprefixer(), - postcssColorRgbaFallback(), - postcssPseudoelements(), - postcssVmin(), - doiuse(), - postcssFixes(), - rucksackCss(), - postcssImport(), - postcssNested(), + cssnano({ preset: 'default' }), + postcssPresetEnv(), + postcssWillChange(), + postcssPrefixHover(), + // autoprefixer(), + postcssColorRgbaFallback(), + postcssPseudoelements(), + postcssVmin(), + doiuse(), + postcssFixes(), + rucksackCss(), + postcssImport(), + postcssNested(), ], -};
\ No newline at end of file +}; |
