latest--grunt-task
shared| Type | object |
|---|---|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/grunt-cssmin-task/_shared/latest--grunt-task.json |
| Parent schema | grunt-cssmin-task |
Properties
Definitions
Pattern(s) to match, relative to the 'cwd'.
Must be set to true to use properties other than 'src' and 'dest'
All 'src' matches are relative to (but don't include) this path
Destination path prefix.
Replace any existing extension with this value in generated 'dest' paths.
Used to indicate where the period indicating the extension is located.
The 'filter' property can help you target files with a greater level of detail
Remove all path parts from generated 'dest' paths
If set, patterns without slashes will be matched against the basename of the path if it contains slashes. For example, 'a?b' would match the path '/xyz/123/acb', but not '/xyz/acb/123'.
If set to 'true' then the operation will include non-matching patterns. Combined with grunt's '--verbose' flag, this option can help debug file path issues.
This function is called for each matched 'src' file, (after extension renaming and flattening).