// This is a base TSConfig for nice integration with IDEs such as VSCode. // By default, VSCode reads `tsconfig.json` to know what it should typecheck // in the editor. Since we want it to typecheck things like our tests, but // we want to save disk space by not compiling them at runtime, we need two // tsconfigs! { "extends": "../tsconfig.json", "compilerOptions": { "baseUrl": "src", "outDir": "./js", "lib": [ "ES2019", // This is necessary because -- for some unknown reason -- the AWS SDK // depends on the DOM. Do people even run the AWS SDK in the browser? // I hope not. "DOM" ], "typeRoots": [ "@types", "node_modules/@types", ], "paths": { "tachi-common": [ "../../common/src" ], "tachi-common/*": [ "../../common/src/*" ] } }, "include": [ "src/**/*.ts" ], "exclude": [ "node_modules" ] }