SuperflyCSS CLI New Deploy Feature


As noted SuperflyCSS builds can get very large:

Thus the CLI uses the PostCSS uncss plugin to filter CSS selectors against the /src/test/html files and also has the ability to minify the filtered result. I just added a deploy command that can be used to test the minified CSS file against the html test pages.

Test Drive

To see it in action try this:

git clone @superflycss/cli
cd cli
npm i -g
git clone
cd component-test
sfc deploys

The command (Or the sugared version sfc des ) will build and minify the CSS and copy it to the deploy root project directory where it will be served with browsersync for instantaneous viewing and verification.

If you don’t want to serve the file, but only want a production build of the CSS against the html files, then just run sfc de .



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ole Ersoy

Ole Ersoy

Founder of Firefly Semantics Corporation