cssx-cli
v5.2.1
Published
Command line tool for transpiling/preprocessing CSSX
Downloads
10
Maintainers
Readme
Command line tool for CSSX compilation
Install it globally with npm install -g cssx-cli
.
Options
-i
(input) - accepts a glob pattern or a single file-o
(output) - output directory-m
(mode) -css
orjs
. It depends of what you want to produce at the end.
Examples
Transpilation of a single file
cssx -i ./src/a.js -o ./dist
Transpilation of multiple files
cssx -i ./src/**/*.js -o ./dist
Bundle to a single CSS file
cssx -i ./src/index.js -o ./dist -m css