Grunt Strip Media Queries
Grunt task to strip media queries from a CSS file and create a file with them. It uses strip-media-queries
Getting Started
This plugin requires Node ~6.0.0
, Grunt ~0.4.5
and strip-media-queries ^0.2.1
npm install grunt-strip-media-queries --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
grunt.loadNpmTasks('grunt-strip-media-queries');
Options
See full options are the same as strip-media-queries:
Example
strip_media_queries: {
mobile: {
options: {
dest: './demo/mobile-queries.css',
width: 400
},
files: {
src: './demo/**.css',
ignore: './demo/**.min.css'
}
}
}