summaryrefslogtreecommitdiff
path: root/postcss.config.js
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2023-11-05 17:23:37 +0800
committerlittleblack111 <littleblack11111@gmail.com>2023-11-05 17:23:37 +0800
commit2cdf0cb352ab6a2d0f8cb25120e4ebc92c5316e3 (patch)
tree6b088c99810bd013f17b80522c936ca6dfc09858 /postcss.config.js
parentf8ee6ef722e6c560c4a1c879e04dbdf0b01f0316 (diff)
removed autoprefix hover as it will have a high chance of making hover stopped working
Diffstat (limited to 'postcss.config.js')
-rw-r--r--postcss.config.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/postcss.config.js b/postcss.config.js
index b329f6d4..df54a59f 100644
--- a/postcss.config.js
+++ b/postcss.config.js
@@ -1,8 +1,7 @@
const cssnano = require('cssnano')
const postcssPresetEnv = require('postcss-preset-env')
const postcssWillChange = require('postcss-will-change')
-const postcssPrefixHover = require('postcss-prefix-hover')
-// const autoprefixer = require('autoprefixer')
+const autoprefixer = require('autoprefixer')
const postcssColorRgbaFallback = require('postcss-color-rgba-fallback')
const postcssOpacity = require('postcss-opacity')
const postcssPseudoelements = require('postcss-pseudoelements')
@@ -17,9 +16,8 @@ const postcssNested = require('postcss-nested')
module.exports = {
plugins: [
cssnano({ preset: 'default' }),
- postcssPresetEnv(),
+ // postcssPresetEnv(),
postcssWillChange(),
- postcssPrefixHover(),
// autoprefixer(),
postcssColorRgbaFallback(),
postcssPseudoelements(),