Repository navigation
Commit 4294f8c
fix(esm): use node: prefix for built-in module imports
Deno's strict ESM loader rejects bare specifiers for Node built-ins.
TypeScript preserves specifiers verbatim, so the source must use the
node: prefix for both CJS and ESM output to work across Node, Deno,
and other strict ESM runtimes.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 5e9701e commit 4294f8c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments