This commit is contained in:
2026-08-14 16:03:47 +01:00
parent fd53e3f4fb
commit dfdc3b2840
2463 changed files with 186456 additions and 111315 deletions
+2 -2
View File
@@ -19,9 +19,9 @@
*/
// Enable on-disk code caching if available (Node.js 22.8+)
// Skip if running inside Bazel via a RUNFILES environment variable check and no explicit cache
// Skip if running inside Bazel via a JS_BINARY__RUNFILES environment variable check and no explicit cache
// location defined. The default cache location does not work well with Bazel's hermeticity requirements.
if (!process.env['RUNFILES'] || process.env['NODE_COMPILE_CACHE']) {
if (!process.env['JS_BINARY__RUNFILES'] || process.env['NODE_COMPILE_CACHE']) {
try {
const { enableCompileCache } = require('node:module');