rework-file
v1.0.0
Published
Helper to read and process file with rework
Readme
rework-file
Helper to read the input file and pass it to rework.
Call rework-file the same as you would call rework, except that you must
pass the file name instead of the file contents. It will also set the source
option to the file name if it is not set in the options.
var rework = require('rework-file');
// rework-file(fileName, [opts])
rework('my-file.css')
.use(myPlugin())
.toString();