From bd814772029dc98840642ea4b3aa17349a73ba1f Mon Sep 17 00:00:00 2001 From: Pan Date: Mon, 20 May 2019 13:16:08 +0800 Subject: [PATCH] refactor[chore]: generate postcss.config.js instead of .postcssrc.js consistent with vue-cli --- .postcssrc.js | 8 -------- package.json | 3 +-- postcss.config.js | 5 +++++ 3 files changed, 6 insertions(+), 10 deletions(-) delete mode 100644 .postcssrc.js create mode 100644 postcss.config.js diff --git a/.postcssrc.js b/.postcssrc.js deleted file mode 100644 index 09948d63..00000000 --- a/.postcssrc.js +++ /dev/null @@ -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": {} - } -} diff --git a/package.json b/package.json index 6802c9b5..0becf2b3 100644 --- a/package.json +++ b/package.json @@ -108,7 +108,6 @@ }, "browserslist": [ "> 1%", - "last 2 versions", - "not ie <= 8" + "last 2 versions" ] } diff --git a/postcss.config.js b/postcss.config.js new file mode 100644 index 00000000..961986e2 --- /dev/null +++ b/postcss.config.js @@ -0,0 +1,5 @@ +module.exports = { + plugins: { + autoprefixer: {} + } +}