diff options
author | 2023-08-29 19:45:16 -0700 | |
---|---|---|
committer | 2023-08-29 19:45:16 -0700 | |
commit | a846852818278641cf33413ce784adf2fc0e2e52 (patch) | |
tree | 09a92d272b78226d9d4b1b94682100428da6af3f /src/js/_codegen/build-modules.ts | |
parent | 3f4bc625ff2313713cf38c3c3ba036781ac1c9a9 (diff) | |
download | bun-a846852818278641cf33413ce784adf2fc0e2e52.tar.gz bun-a846852818278641cf33413ce784adf2fc0e2e52.tar.zst bun-a846852818278641cf33413ce784adf2fc0e2e52.zip |
fix(node-fetch): use stream.Readable instead of web streams (#4394)
* fix blobFrom
* fix(node-fetch): use stream.Readable instead of web streams
* uncomment
* comment why
Diffstat (limited to 'src/js/_codegen/build-modules.ts')
-rw-r--r-- | src/js/_codegen/build-modules.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/_codegen/build-modules.ts b/src/js/_codegen/build-modules.ts index 350f0b403..a926e08ba 100644 --- a/src/js/_codegen/build-modules.ts +++ b/src/js/_codegen/build-modules.ts @@ -84,7 +84,7 @@ globalThis.requireTransformer = (specifier: string, from: string) => { const found = moduleList.indexOf(path.relative(BASE, relativeMatch)); if (found === -1) { throw new Error( - `Builtin Bundler: "${specifier}" cannot be imported here because it doesn't get a module ID. Only files in "src/js" besides "src/js/builtins" can be used here.`, + `Builtin Bundler: "${specifier}" cannot be imported here because it doesn't get a module ID. Only files in "src/js" besides "src/js/builtins" can be used here. Note that the 'node:' or 'bun:' prefix is required here. `, ); } return codegenRequireId(`${found}/*${path.relative(BASE, relativeMatch)}*/`); |