Typescript documentation states that the tsconfig.json file should be located at the project root:
https://www.typescriptlang.org/docs/handbook/tsconfig-json.html
Due to my project requirements I have to have multiple versions of this file (Angular AOT, Universal, Webpack each requires different settings).
This clutters the project root so ideally I want to move them to somewhere else, for example under /config/...
Doing so, however, confuses ts compiler and the filepaths dont resolve properly. For example exclude settings below will still get included to the compile
"exclude": [
"node_modules",
"compiled",
"e2e/**/*.ts",
"src/main.browser.universal.aot.ts",
"src/app/app.module.universal.node.ts"
],
Putting ../ in front of them doesn't fix it. Anyone has any idea or example to demonstrate how tsconfig.json can be placed somewhere else?