From 2cdf0cb352ab6a2d0f8cb25120e4ebc92c5316e3 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sun, 5 Nov 2023 17:23:37 +0800 Subject: removed autoprefix hover as it will have a high chance of making hover stopped working --- postcss.config.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'postcss.config.js') 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(), -- cgit v1.2.3