Skip to content

Releases: johno/rework-class-prefix

With support for ignored classes

06 Jan 01:10
Compare
Choose a tag to compare
var fs        = require('fs'),
rework    = require('rework'),
classPrfx = require('rework-class-prefix');

var css = fs.readFileSync('css/my-file.css', 'utf8').toString();
var out = rework(css).use(
            classPrfx('my-prefix-', { ignored: [/^ng-/, 'some-class-to-ignore'] })
          ).toString();

Initial release

06 Jan 01:07
Compare
Choose a tag to compare
0.0.1

Add more documentation