I use Visual Studio Code and have a fairly general project structure:
โโโ client/ โ โโโ tsconfig.json โโโ shared/ โโโ server/ โ โโโ tsconfig.json โโโ project.json
Two tsconfig files have different settings (for example, under client/ target ES5, then under server/ target ES6).
The problem is that I want the shared directory to be included in both projects. I cannot do this with tsconfig because the exclude parameter will not allow me to include a folder that is in a higher directory than tsconfig.json, and using files , I have to keep the list of files permanently until it does not support globes.
Note that I can compile everything by adding a shared folder to tsc, I want the Visual Studio Code IDE to recognize the common code for intellisense, etc.
The only way to wait for filesGlob ?
source share