postcss-remove-base
v0.2.0
Published
Remove rules that have `@base` annotation
Downloads
14
Readme
postcss-remove-base
Remove rules that have @base
annotation
Install
$ npm install postcss-remove-base
Example
var fs = require('fs')
var postcss = require('postcss')
var removeBase = require('postcss-remove-base')
var css = fs.readFileSync('input.css', 'utf-8')
var output = postcss(css)
.use(removeBase())
.process(css)
.css
Using this input.css
:
.base {
/*
* @base
*/
color: red;
}
.class {
padding: 10px;
}
You will get:
.class {
padding: 10px;
}
License
The MIT License (MIT)
Copyright (c) 2015 Masaaki Morishita