postcss-remove-base
0.2.0 • Public • Published 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 {
color: red;
}
.class {
padding: 10px;
}
You will get:
License
The MIT License (MIT)
Copyright (c) 2015 Masaaki Morishita
Package Sidebar
Install
npm i postcss-remove-base
Weekly Downloads