-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Support project reference builds in gulp builds #25066
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
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.
Great approach - I'll spend some time later checking over the build script files in more detail but don't want to delay this going in
src/compiler/tsbuild.ts
Outdated
}; | ||
} | ||
|
||
if (project === undefined) { |
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.
Duplicate block with 1019?
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.
Probably due to merging master.
…p.watch support later
I have some cleanup pending that I'll publish before we merge. |
There are also a number of unexpected differences in the LKG I want to look at before we take this as well. |
This restores support for building TypeScript using gulp now that gulp-typescript has minimal support for project references.
This was accomplished using the following changes:
gulp.task
related logic has been moved out to individual gulp "plugin" scripts in scripts/build.NOTE: I've needed to temporarily disable support for gulp.watch as I still need to clean up/expire changed "projects" from the cache in scripts/build/project.js, but that could happen in a later PR.