-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Project references transitional: Remove reference comments #23354
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Project references transitional: Remove reference comments #23354
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yaaay!
"../src/compiler/watch.ts", | ||
"../src/compiler/commandLineParser.ts", | ||
|
||
"processDiagnosticMessages.ts" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also need to change processDiagnosticMessages.ts to not include reference path in generated diagnostics file https://github.com/Microsoft/TypeScript/blob/master/scripts/processDiagnosticMessages.ts#L60
Tracking from #23324
This removes all
reference
comments from our main source files and replaces them with explicit file lists in tsconfigs. This makes the output ordering of our various outputs actually similar, instead of random. Total output size inbuilt\local
is effectively unchanged so I'm reasonably sure I didn't break anything.The next step is to merge the core references support and replace the long file lists in the tsconfig files with reference directives.