Fix Node browser fallbacks to have util.inherit and other size improvements (#19783)

Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com>
This commit is contained in:
Jarred Sumner
2025-05-20 23:25:52 -07:00
committed by GitHub
parent 98ee30eccf
commit 8aae534270
31 changed files with 5195 additions and 922 deletions

View File

@@ -1,6 +1,2 @@
/**
* Browser polyfill for the `"string_decoder"` module.
*
* Imported on usage in `bun build --target=browser`
*/
export { StringDecoder, StringDecoder as default } from "string_decoder";
// TODO: This depends on a separate buffer polyfill
export { StringDecoder, StringDecoder as default } from "./node_modules/string_decoder";