Commit da04c8e
fix: drop Node 18 fallback —
GLM-5 review correctly identified that `path` is defined AFTER `__dirname`
in the bundled output, so the `path.dirname(fileURLToPath(...))` fallback
would throw `ReferenceError` on Node < 20.11.0.
Since Node 18 is EOL (April 2025), use `import.meta.dirname` unconditionally.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>path is not in scope before __dirname in bundle1 parent 2cc41eb commit da04c8e
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments