minify_css

This script will minify and transpile the *.css files in the given directory ($PWD if not given) and its subdirectories.

This script uses browserslist to determine the transpilation targets.

If you do not want the defaults you have several options to change them.

For example via the following file:

.browserslistrc
last 2 versions

Usage

$ scripts/web/minify_css.sh
$ scripts/web/minify_css.sh dist

Prerequisites