dotnet / dotnet/templating

exclude file still be scanned during instantiate template

Open
#4,409 5 comments 1 reaction 0 assignees View on GitHub
area: performance bug Priority:1 triage:transfer-to-sdk triaged
Dominant language
No language data
Stars
1.7k
Forks
399
Avg merge
3d 5h
Merged PRs (30d)
39

Description

it takes a huge time for template engine to scan all the files, and seems not necessary to do it , as I have excluded it explicitly in my template.json
In my local env, the template folder includes a 'node_modules' folder which contains a large numb of files (may be > 100K) ,
below is my template config,
```
"sources": [
{
"exclude": ["**/node_modules/**", "**/setup.*"]
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.