mirror of
https://github.com/clawdbot/clawdbot.git
synced 2026-01-31 03:17:44 +01:00
15 lines
305 B
JavaScript
Executable File
15 lines
305 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.js");
|