We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5f3f53 commit b3bc063Copy full SHA for b3bc063
.changeset/afraid-rivers-talk.md
@@ -0,0 +1,5 @@
1
+---
2
+"hereby": minor
3
4
+
5
+Use enableCompileCache
src/cli.ts
@@ -1,7 +1,14 @@
-import { main } from "./cli/index.js";
-import { real } from "./cli/utils.js";
+import module from "node:module";
+declare module "node:module" {
+ export const enableCompileCache: (() => void) | undefined;
+}
6
7
+module.enableCompileCache?.();
8
9
async function run() {
10
+ const { main } = await import("./cli/index.js");
11
+ const { real } = await import("./cli/utils.js");
12
await main(await real());
13
}
14
0 commit comments