This package has been deprecated

Author message:

Deprecated in favor of `grunt-postcss`

grunt-cssnano

3.0.0 • Public • Published

grunt-cssnano Build Status

Minify CSS using cssnano

Issues with the output should be reported on the cssnano issue tracker.

Install

$ npm install --save-dev grunt-cssnano

Usage

require('load-grunt-tasks')(grunt);
 
grunt.initConfig({
    cssnano: {
        options: {
            sourcemap: true
        },
        dist: {
            files: {
                'dist/app.css': 'src/app.css'
            }
        }
    }
});
 
grunt.registerTask('default', ['cssnano']);

Options

See the cssnano options.

Package Sidebar

Install

npm i grunt-cssnano

Weekly Downloads

255

Version

3.0.0

License

MIT

Unpacked Size

3.1 kB

Total Files

4

Last publish

Collaborators

  • beneb
  • sindresorhus