rework-file

1.0.0 • Public • Published

rework-file

NPM Build Status

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();

Readme

Keywords

Package Sidebar

Install

npm i rework-file

Weekly Downloads

2

Version

1.0.0

License

BSD

Last publish

Collaborators

  • conradz