网上说是postcss.config.js 加browsers,试了不行
module.exports = {
plugins: {
'autoprefixer': {browsers: 'last 5 version'}
}
}
新解决方法:
postcss.config.js 重命名 postcss.config.cjs
也就是改后缀为cjs
有用点个赞
网上说是postcss.config.js 加browsers,试了不行
module.exports = {
plugins: {
'autoprefixer': {browsers: 'last 5 version'}
}
}
postcss.config.js 重命名 postcss.config.cjs
也就是改后缀为cjs
有用点个赞
本文标题:报错:No PostCSS Config found in:
本文链接:https://www.haomeiwen.com/subject/mojbxdtx.html
网友评论