postcss-no-singleline-comment
v1.0.1
Published
discard single line comment from css
Downloads
31
Maintainers
Readme
postcss-no-singleline-comment
Intro
A postcss plugin to remove single line comment in css.
input:
.main {
// display: block;
display: flex;
}
output:
.main {
display: flex;
}
Installation
npm i -D postcss-no-singleline-comment
Usage
// in .postcssrc.js
module.exports = {
plugins: [require('postcss-no-singleline-comment')]
}