reduce-to-sizes
This command line utility will reduce a SCSS file to selectors that have size definitions listed on it. The use-case that inspired this was taking a desktop SCSS file and producing a file that can produce a structure to easily override in a mobile SCSS file.
Installation
Globally install with npm install -g reduce-to-sizes
Usage
Input
$ reduce-to-sizes [file]
Output
Outputs the file to stdout. $ reduce-to-sizes [file] > new.scss
to save the output to a file called new.scss.