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.
To see it in action try this:
git clone @superflycss/cli
npm i -g
git clone firstname.lastname@example.org:superflycss/component-test.git
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 .