-
Notifications
You must be signed in to change notification settings - Fork 11.9k
refactor(@angular/build): improve typescript bundling context rebuild checking #28759
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
refactor(@angular/build): improve typescript bundling context rebuild checking #28759
Conversation
79ae766
to
3014ed7
Compare
3014ed7
to
67c8824
Compare
packages/angular/build/src/tools/esbuild/angular/component-stylesheets.ts
Outdated
Show resolved
Hide resolved
packages/angular/build/src/tools/esbuild/bundler-execution-result.ts
Outdated
Show resolved
Hide resolved
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.
LGTM, just 2 NITs
67c8824
to
1de106f
Compare
packages/angular/build/src/tools/esbuild/angular/component-stylesheets.ts
Outdated
Show resolved
Hide resolved
… checking The TypeScript-based bundling contexts have now been separated from the other bundling contexts that may be present in an application build. The later of which include global styles, scripts, and non-TypeScript polyfills. This allows for the TypeScript bundling contexts to perform additional checks during a rebuild to determine if they actually need to be rebundled. The bundling context caching for the TypeScript contexts has not yet been enabled but these changes prepare for the switch to allow conditional rebundling on file changes.
1de106f
to
80e6b7b
Compare
The changes were merged into the following branches: main, 19.0.x |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
The TypeScript-based bundling contexts have now been separated from the other bundling contexts that may be present in an application build. The later of which include global styles, scripts, and non-TypeScript polyfills. This allows for the TypeScript bundling contexts to perform additional checks during a rebuild to determine if they actually need to be rebundled. The bundling context caching for the TypeScript contexts has not yet been enabled but these changes prepare for the switch to allow conditional rebundling on file changes.