gruntjs / gruntjs/grunt

Case sensitive parameters

Open
#1,682 1 comment 0 reactions 0 assignees View on GitHub
Type: Question
Dominant language
JavaScript
Stars
12.2k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

When passing files to a task like `src: ['**/*.{png,jpg,gif,svg}']`, it will ignore all files that don't match the case. Like all files that end with JPG in this example.

There seems to be NO mention of case sensitivity in the [documentation](https://gruntjs.com/configuring-tasks) at all, but it says:

> For more on glob pattern syntax, see the [node-glob](https://github.com/isaacs/node-glob) and [minimatch](https://github.com/isaacs/minimatch) documentation

Now, the example above doesnt seem to be either of those, right? I don't define any globs or minimatches. Are there options for what I am doing? Do I have to switch to Node Glob notation because that comes with a _nocase_ option...?

Do I really have to write all file extensions twice? Am I missing something?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.