When I build my project, it's also trying to build files outside of ./src. In my tsconfig.json file, I have:
"rootDir": "./src""outDir": "./build"
I have a folder with some random files that I want it to ignore, but it's counting them as input files and giving me two errors:
- Cannot write file '__' because it would overwrite input file.
- File '__' is not under 'rootDir' '/src'. 'rootDir' is expected to contain all source files
Is there a way to only build the files located in ./src and ignore other directories?