Releases: johno/rework-class-prefix
Releases · johno/rework-class-prefix
With support for ignored classes
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
0.0.1 Add more documentation