PostCSS All In One
PostCSS All In One
https://www.webpackjs.com/loaders/postcss-loader/
https://github.com/postcss/postcss-load-config
Autoprefixe
https://github.com/postcss/autoprefixer
Parse CSS and add vendor prefixes to rules by Can I Use
.postcssrc
Create a .postcssrc file in JSON or YAML format
It's recommended to use an extension (e.g .postcssrc.json or .postcssrc.yml) instead of .postcssrc
postcss.config.js
module.exports = {
plugins: [
require('precss'),
require('autoprefixer')
]
}
refs
©xgqfrms 2012-2020
www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/14269337.html
未经授权禁止转载,违者必究!