add postcss-comment

This commit is contained in:
fxy060608 2019-05-09 17:04:30 +08:00
parent 2affd845c1
commit a6e93c0608
2 changed files with 5 additions and 1 deletions

View File

@ -36,6 +36,9 @@ module.exports = (api, options, rootOptions) => {
return {
dependencies: {
'regenerator-runtime': '^0.12.1'// 锁定版本,避免高版本在小程序中出错
},
devDependencies: {
'postcss-comment': '^2.0.0'
}
}
})

View File

@ -1,5 +1,6 @@
const pkg = require('./package.json')
module.exports = {
module.exports = {
parser: require('postcss-comment'),
plugins: [
require('postcss-import'),
require('autoprefixer')({