3.0.0 • Published 5 years ago

grunt-cssnano v3.0.0

Weekly downloads
1,536
License
MIT
Repository
github
Last release
5 years ago

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.