tsc ignoring .yaml file even though it's set to include in tsconfig.json

Viewed 487

When I run $ tsc at the root directory, it completely ignores my src/schemas/verification-openapi.yaml file and doesn't make it to the dist/ folder. However, I have "src/**/*.yaml" inside the "includes" section.

app/tsconfig.json

{
  "extends": "@tsconfig/node14/tsconfig.json",
  "compilerOptions": {
    "preserveConstEnums": true,
    "module": "commonjs",
    "outDir": "dist",
    "baseUrl": "./",
  },
  "include": [
    "src/**/*.ts",
    "src/**/*.yaml",
    "tests/**/*.ts",
  ],
  "exclude": [
    "node_modules"
  ],
}

app/src folder:

enter image description here

app/dist/src folder:

enter image description here

Any help is appreciated, thanks!

0 Answers
Related