How do I set a directory as excluded from TypeScript compilation in WebStorm?
The IDE's TypeScript compilation service doesn't seem to be respecting the tsconfig.json
's exclude
setting for compilation. Running tsc
from the terminal properly ignores the needed folder, but WebStorm (and for that matter all JetBrains IDEs) completely ignore it and compile everything in the root directory.
I have set -p ./tsconfig.json
as an option in Settings > Languages & Frameworks > Typescript
and yet the excluded directory still gets compiled.