Use modular-css
via the CLI!
$ npm i modular-css-cli
usage: modular-css [options] <glob>...
options:
-d, --dir DIR Directory to search from [process cwd]
-o, --out FILE File to write output CSS to [stdout]
-j, --json FILE File to write output compositions JSON to
-m, --map Include inline source map in output
--help Show this help