Closed himself65 closed 7 months ago
makes entire codebase less isomorphic
Of course not; deno only supports the node:
prefix (https://docs.deno.com/runtime/manual/node/node_specifiers), and so does Cloudflare worker. without node prefix, the code will rely on bundler-specific
Add
node:
as the prefix to be compatible with the modern JS environment.Backward compatibility: nodejs 14 and later
Fixes: https://github.com/stackblitz/webcontainer-core/issues/1312, https://github.com/run-llama/LlamaIndexTS/issues/478