Install it globally with npm install -g cssx-cli
.
-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.
cssx -i ./src/a.js -o ./dist
cssx -i ./src/**/*.js -o ./dist
cssx -i ./src/index.js -o ./dist -m css