Files
openclaw/openclaw.mjs
2026-01-31 17:26:39 +09:00

15 lines
306 B
JavaScript
Executable File

#!/usr/bin/env node
import module from "node:module";
// https://nodejs.org/api/module.html#module-compile-cache
if (module.enableCompileCache && !process.env.NODE_DISABLE_COMPILE_CACHE) {
try {
module.enableCompileCache();
} catch {
// Ignore errors
}
}
await import("./dist/entry.mjs");