Grunt cssmin task
Grunt cssmin task configuration file
| 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
Properties
Set the options for cssmin
3 nested properties
Prefix the compressed source with the given banner, with a linebreak in between.
To keep or remove special comments, exposing the underlying option from 'clean-css'.
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.
Definitions
Set the options for cssmin
Prefix the compressed source with the given banner, with a linebreak in between.
To keep or remove special comments, exposing the underlying option from 'clean-css'.
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.