Browse Source

upd: autoprefixer

richard1015 5 years ago
parent
commit
3158b91936
2 changed files with 4 additions and 1 deletions
  1. 3 1
      .postcssrc.js
  2. 1 0
      package.json

+ 3 - 1
.postcssrc.js

@@ -2,6 +2,8 @@ module.exports = {
   plugins: {
     'postcss-import': {},
     'postcss-url': {},
-    autoprefixer: {}
+    autoprefixer: {
+      overrideBrowserslist: ['last 20 versions'] 
+    }
   }
 };

+ 1 - 0
package.json

@@ -67,6 +67,7 @@
     "@commitlint/cli": "^8.0.0",
     "@commitlint/config-conventional": "^8.0.0",
     "babel-plugin-istanbul": "^6.0.0",
+    "autoprefixer": "^9.8.4",
     "gsap": "^3.2.6",
     "vue-lazyload": "^1.3.3",
     "vue-qr": "^2.2.1"