fyn 3.2.1 → 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.
Files changed (4) hide show
  1. package/README.md +2 -0
  2. package/bin/fyn.mjs +5 -0
  3. package/dist/fyn.mjs +42476 -42110
  4. package/package.json +1 -1
package/README.md CHANGED
@@ -75,6 +75,7 @@ progress: normal
75
75
  logLevel: info
76
76
  production: false
77
77
  centralStore: false
78
+ hardlink: true
78
79
  ```
79
80
 
80
81
  Or as an ini:
@@ -89,6 +90,7 @@ progress=normal
89
90
  logLevel=info
90
91
  production=false
91
92
  centralStore=false
93
+ hardlink=true
92
94
  ```
93
95
 
94
96
  ### Local source exports (`fyn.localExports`)
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");