Browse Source

refactor[chore]: generate postcss.config.js instead of .postcssrc.js

consistent with vue-cli
Pan 5 years ago
parent
commit
131b9b9eff
3 changed files with 6 additions and 10 deletions
  1. 0 8
      .postcssrc.js
  2. 1 2
      package.json
  3. 5 0
      postcss.config.js

+ 0 - 8
.postcssrc.js

@@ -1,8 +0,0 @@
-// https://github.com/michael-ciniawsky/postcss-load-config
-
-module.exports = {
-  "plugins": {
-    // to edit target browsers: use "browserslist" field in package.json
-    "autoprefixer": {}
-  }
-}

+ 1 - 2
package.json

@@ -107,7 +107,6 @@
   },
   "browserslist": [
     "> 1%",
-    "last 2 versions",
-    "not ie <= 8"
+    "last 2 versions"
   ]
 }

+ 5 - 0
postcss.config.js

@@ -0,0 +1,5 @@
+module.exports = {
+  plugins: {
+    autoprefixer: {}
+  }
+}