Skip to content

emit order when using include in tsconfig.json #11461

@fwang2002

Description

@fwang2002

I found that although the include property can specify glob style files, but the emitted file is in alphabetical order with reference directive considered, it is not consistent with the order provided in the include.
I see the result with listEmittedFiles option, and the include is something like this:

"include": [
  "src/core/**/*.ts",
  "src/utils/**/*.ts",
  "src/**/*.ts"
]

Is this a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions