mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 02:48:50 +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,7 +1,19 @@
|
||||
/**
|
||||
* Browser polyfill for the `"https"` module.
|
||||
*
|
||||
* Imported on usage in `bun build --target=browser`
|
||||
*/
|
||||
export * from "https-browserify";
|
||||
export * as default from "https-browserify";
|
||||
import * as https from "https-browserify";
|
||||
export var {
|
||||
Agent,
|
||||
ClientRequest,
|
||||
IncomingMessage,
|
||||
METHODS,
|
||||
OutgoingMessage,
|
||||
STATUS_CODES,
|
||||
Server,
|
||||
ServerResponse,
|
||||
createServer,
|
||||
get,
|
||||
globalAgent,
|
||||
maxHeaderSize,
|
||||
request,
|
||||
setMaxIdleHTTPParsers,
|
||||
validateHeaderName,
|
||||
validateHeaderValue,
|
||||
} = https;
|
||||
|
||||
Reference in New Issue
Block a user