grunt-strip-media-queries
v0.3.0
Published
Grunt task for the npm module strip-media-queries
Downloads
4
Maintainers
Readme
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'
}
}
}