mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 02:48:50 +00:00
* fix(build): do not emit import.meta.require for browsers/node.js * update test snapshots * sweep * prefer require ref instead of `import.meta.require` * remove option i did not use * stuff * remove rewrite_require_resolve * ok * ok * wooooo * [autofix.ci] apply automated fixes * fix bugs * ok * [autofix.ci] apply automated fixes * OOOOOPPPPPPPPPPPPS * fix Bun.Transpiler regressions * fix(bundler): make --splitting ensure --outdir * fix final * oops * [autofix.ci] apply automated fixes * use require.resolve * revert but ... it no longer crashes there * ok * [autofix.ci] apply automated fixes * fix fetch test --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com>
10 lines
314 B
JavaScript
10 lines
314 B
JavaScript
let isatty = () => false;
|
|
function WriteStream() {
|
|
throw new Error("tty.WriteStream is not implemented for browsers");
|
|
}
|
|
function ReadStream() {
|
|
throw new Error("tty.ReadStream is not implemented for browsers");
|
|
}
|
|
export { isatty, ReadStream, WriteStream };
|
|
export default { isatty, ReadStream, WriteStream };
|