css-minify package must be installed globally npm install css-minify -gInstalling globally is necessary.
Before minify command is run, css-dist directory must be created, where the output will be saved.
The command: css-minify -f css/d1.css will minify the specified .css file.