Our current build process isn't taking full advantage of TypeScript. Even though our development process is now type-safe, that benefit isn't being passed onto our consumers. To provide the ability to use our TypeScript definitions in another codebase we will build them separately.
tsconfig.json doesn't emit any code. It's purely for type-checking. Rather than customize the existing config, we can create a new one which extends its values.
Create a new
tsconfig.build.json file with the following content: