Reputation: 19381
in my project I use 2 different tsconfig files
tsconfig.json
tsconfig.specs.json
- for testinghow can I tell Intellij Idea to use both?
i.e. In Settings
- Langauges & Frameworks
- TypeScript
I can switch between different Compile scope
s, but the Options
are not per compile scope (but only once per project).
Notes:
Upvotes: 8
Views: 2004
Reputation: 19381
I think we only need to register the file-types:
In Settings | Editor | File Types > TypeScript Config add your custom tsconfig file names, e.g.
tsconfig.app.json
tsconfig.lib.json
tsconfig.spec.json
With these settings in place:
Upvotes: 2