gruntjs / gruntjs/grunt

Grunt concat task wildcard expression doesn't work properly

Open
#611 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12.2k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

Hey guys,

I'm using the concat task in one of my projects using the wildcard syntax to specify a pattern of files to match. It works fine for me.

However it seems like there are problems with the wildcard syntax on different machines. Regarding [this issue](https://github.com/PascalPrecht/wbb/issues/12), it turned out that using wildcard syntax in concat task doesn't work properly.

We fixed this temporary by specifying the files names in an array.

Is this a known issue?

Contributor guide

Open the contributing guide

Research direction

Start with the Grunt concat task and reproduce the reported wildcard behavior, comparing it with the explicit file-array workaround. Review the linked wbb issue for the differing-machine context. Done means the wildcard expression behaves consistently and the failure is covered by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.