postcss-discard-comments

1.安装
# yarn add postcss-discard-comments -D
2.配置(postcss.config.js)
module.exports = {
  plugins: [
    ...,
    require('postcss-discard-comments')
  ]
}
3.使用
body/* 主体样式(去除说明) */ {
  ...
}

results matching ""

    No results matching ""