Skip to content

refactor(@angular/cli): allow opt-in Node.js compile cache for Bazel #30382

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

Merged
merged 1 commit into from
May 23, 2025

Conversation

clydin
Copy link
Member

@clydin clydin commented May 23, 2025

When using the Angular CLI within Bazel, the Node.js compile cache can be enabled by setting the NODE_COMPILE_CACHE environment variable to a filesystem path.
This allows opt-in usage based on the Bazel execution environment.

Compile cache documentation:
https://nodejs.org/api/module.html#module-compile-cache

When using the Angular CLI within Bazel, the Node.js compile cache can
be enabled by setting the `NODE_COMPILE_CACHE` environment variable to
a filesystem path.
This allows opt-in usage based on the Bazel execution environment.

Compile cache documentation:
https://nodejs.org/api/module.html#module-compile-cache
@clydin clydin requested a review from devversion May 23, 2025 14:35
@clydin clydin added the target: rc This PR is targeted for the next release-candidate label May 23, 2025
Copy link
Member

@devversion devversion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, thank you!!

@clydin clydin added the action: merge The PR is ready for merge by the caretaker label May 23, 2025
@clydin clydin merged commit 0574076 into angular:main May 23, 2025
33 checks passed
@clydin
Copy link
Member Author

clydin commented May 23, 2025

The changes were merged into the following branches: main, 20.0.x

@clydin clydin deleted the cli/bazel-optin-compile-cache branch May 23, 2025 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action: merge The PR is ready for merge by the caretaker area: @angular/cli target: rc This PR is targeted for the next release-candidate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants