Skip to content

Command line Options

Tommy Hodgins edited this page Sep 28, 2019 · 1 revision

-c or --css

Use -c or --css to enable CSS-only output. The default for process-css-demo is to output all code wrapped in JavaScript. The CSS output with this option will lack any JS-supported rules.

-m or --minify

Use -m or --minify to enable code minification, either for CSS output or JavaScript output.

-b or --beautify

Use -b or --beautify to enabled code beautification either for CSS output or JavaScript output.

-d or --data

Use -d or --data to specify a JSON-parsable string of data to pass into each transformation plugin from the preprocessor as the CSS is processed.

-h or --help

Use -h or --help to display help text in the console.