postcss-rm-imports
v1.1.0
Published
remove or comment out @import statements
Downloads
96
Maintainers
Readme
postcss-rm-imports
Comments out or removes @import
statements.
Useful for build processes.
Installation
npm install postcss-rm-imports
Usage
var postcss = require("postcss")
var rmImports = require("postcss-rm-imports")
var css = postcss()
.use(rmImports({
remove: false
}))
.process(cssString)
.css
Options
By default, it will simply comment-out @import
statements.
If you would like it to remove the @import
statements,
set remove: true
as an option.