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

consistent with vue-cli
This commit is contained in:
Pan 2019-05-20 13:16:08 +08:00
parent a582eec089
commit bd81477202
3 changed files with 6 additions and 10 deletions

View File

@ -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": {}
}
}

View File

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

5
postcss.config.js Normal file
View File

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