Allow multiple tsconfig configurations for --project
flag in cli
#50898
Labels
Declined
The issue was declined as something which matches the TypeScript vision
Suggestion
An idea for TypeScript
Suggestion
π Search Terms
is:open project multiple label:Suggestion
β Viability Checklist
My suggestion meets these guidelines:
β Suggestion / π Motivating Example
allow tsc to be invoked with multiple project configuration with
--project
/-p
flag in cli like:tsc --project tsconfig.dev.json tsconfig.prod.json
alternative syntax:
tsc --project tsconfig.dev.json --project tsconfig.prod.json
currently it is only possible to have 1 configuration per tsc run, so tsc has to be executed for each tsconfig like:
Note
--build
/-b
flag allows specify multiple projects already.π» Use Cases
This is useful when one projects has more target configurations (e.g. for deployments / testing / user agents / devices).
This is performance optimization only. The end result is already achievable by ruining tsc multiple times.
The text was updated successfully, but these errors were encountered: