cmux/node_modules/vercel/dist/vc.js
2026-01-29 17:36:26 -08:00

12 lines
425 B
JavaScript
Executable file

#!/usr/bin/env node
// This shim defers loading the real module until the compile cache is enabled.
// https://nodejs.org/api/module.html#moduleenablecompilecachecachedir
// enableCompileCache was added in Node.js 22.8.0, so we need to handle older versions.
try {
const { enableCompileCache } = await import('node:module');
if (enableCompileCache) {
enableCompileCache();
}
} catch {}
await import('./index.js');