mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user