Type object
File match cssmin.json
Schema URL https://catalog.lintel.tools/schemas/schemastore/grunt-cssmin-task/latest.json
Source https://www.schemastore.org/grunt-cssmin-task.json

Validate with Lintel

npx @lintel/lintel check
Type: object

Properties

options object

Set the options for cssmin

3 nested properties
banner null | string

Prefix the compressed source with the given banner, with a linebreak in between.

Default: null
keepSpecialComments number | string

To keep or remove special comments, exposing the underlying option from 'clean-css'.

Default: "*"
Values: "*" 1 2
report string

Either report only minification result or report minification and gzip results. This is useful to see exactly how well clean-css is performing but using 'gzip' will make the task take 5-10x longer to complete.

Default: "min"
Values: "min" "gzip"

Definitions

options object

Set the options for cssmin

banner null | string

Prefix the compressed source with the given banner, with a linebreak in between.

Default: null
keepSpecialComments number | string

To keep or remove special comments, exposing the underlying option from 'clean-css'.

Default: "*"
Values: "*" 1 2
report string

Either report only minification result or report minification and gzip results. This is useful to see exactly how well clean-css is performing but using 'gzip' will make the task take 5-10x longer to complete.

Default: "min"
Values: "min" "gzip"