fyn 3.2.2 → 3.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/fyn.mjs +5 -0
- package/dist/fyn.mjs +21451 -21150
- package/package.json +1 -1
package/bin/fyn.mjs
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import "./check-node.mjs";
|
|
4
|
+
import module from "node:module";
|
|
5
|
+
|
|
6
|
+
// V8 caches the compiled bundle on disk (under the OS temp dir, or NODE_COMPILE_CACHE), which
|
|
7
|
+
// cuts about 25ms off every run after the first. NODE_DISABLE_COMPILE_CACHE=1 turns it off.
|
|
8
|
+
module.enableCompileCache?.();
|
|
4
9
|
|
|
5
10
|
// dynamic so the version check above runs first - see check-node.mjs
|
|
6
11
|
const { run } = await import("./index.mjs");
|