rework-npm-cli

a command for running rework-npm in build scripts

rework-npm-cli

Use rework-npm from the command line.

Globally:

npm install -g rework-npm-cli

Or as a development dependency:

npm install --save-dev rework-npm-cli
rework-npm source.css -o bundle.css

Example of piping to other commands:

rework-npm source.css | myth | cleancss -o bundle.css

Using the myth and clean-css modules.

rework-npm source.css -m -o bundle.css

The --sourcemap option enables sourcemaps in the bundle.css file. It can be shortened to -m.