webpack2以后配置postcss

需要有专门的postcss.config.js放置在根目录,内容是

1 module.exports = {
2 plugins: [
3 require('autoprefixer')({
4 browsers: ['last 5 versions']
5 })
6 ]
7 }

 

posted @ 2017-06-22 10:52  晨光暖日  阅读(1232)  评论(0编辑  收藏  举报