Skip to content

exclude file still be scanned during instantiate template #4409

Open
@jianyexi

Description

@jianyexi

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.*"]
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority:1Work that is critical for the release, but we could probably ship withoutarea: performanceThe issue is related to performance of template engine or dotnet new hostbugThe issue describes a bugtriagedThe issue was evaluated by the triage team, placed on correct area, next action defined.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions