Strip media queries from stylesheets
The stripmq.js is taken from the grunt-stripmq project. This was mainly done so as to not depend on having grunt in order to just strip the media queries from css. The bin/stripmq command is a simple cli that takes the same options as the grunt-stripmq task but for one file at a time.
The stripmq
command can be installed globally via npm:
npm install stripmq -g
stripmq --input test/input.css --width 1000 --type screen --output output.css
See the grunt-stripmq on github.