PostCSS All In One

PostCSS All In One

https://postcss.org/

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