-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Closed
Labels
DuplicateAn existing issue was already createdAn existing issue was already created
Description
I'm compiling my project to single output file using outFile option.
TSC is generating overhead code as such:

This happens for every file of my solution -> in my case hundreds of small files which cause significant overhead in output file.
I believe this could be optimized by merging objects in same namespace.
Test solution:
testmerge.zip
TSC v: 3.1.1 but I believe it was like this since very beginning.
Metadata
Metadata
Assignees
Labels
DuplicateAn existing issue was already createdAn existing issue was already created