grunt-strip-media-queries

0.3.0 • Public • Published

Grunt Strip Media Queries

npm version

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'
        }
    }
}

Package Sidebar

Install

npm i grunt-strip-media-queries

Weekly Downloads

0

Version

0.3.0

License

ISC

Last publish

Collaborators

  • alexcanessa