Just starting out with TypeScript and curious about best practices according to the community.
For production compilation, I currently use the webpack loader. However, during testing, I find myself needing to run tsc && ava
. This results in the creation of equivalent .js
files alongside the original .ts
files. Should these generated files be included in the repository along with the source .ts
files? My initial thought is no, as they should be re-compiled each time before a process like starting a server or running tests. But it would be great to hear what others in the community think about this.