mirror of
https://github.com/oven-sh/bun
synced 2026-02-13 20:39:05 +00:00
Most CLI tools have the style convention of referring to themselves in lowercase. It is, after all, the name that users type in when using the tool. This PR maintains that convention in bun. "Drop the uppercase B, it's cleaner"
28 lines
1.2 KiB
JavaScript
28 lines
1.2 KiB
JavaScript
// ---
|
|
// Public exports from runtime
|
|
// Compatible with bun's Runtime Environment and web browsers.
|
|
export var $$m =
|
|
"$primordials" in globalThis ? $primordials.require : BUN_RUNTIME.$$m;
|
|
export var __HMRModule = BUN_RUNTIME.__HMRModule;
|
|
export var __FastRefreshModule = BUN_RUNTIME.__FastRefreshModule;
|
|
export var __HMRClient = BUN_RUNTIME.__HMRClient;
|
|
export var __markAsModule = BUN_RUNTIME.__markAsModule;
|
|
export var $$lzy = BUN_RUNTIME.$$lzy;
|
|
export var __toModule = BUN_RUNTIME.__toModule;
|
|
export var __commonJS = BUN_RUNTIME.__commonJS;
|
|
export var __require = BUN_RUNTIME.__require;
|
|
export var __name = BUN_RUNTIME.__name;
|
|
export var __export = BUN_RUNTIME.__export;
|
|
export var __reExport = BUN_RUNTIME.__reExport;
|
|
export var __cJS2eSM = BUN_RUNTIME.__cJS2eSM;
|
|
export var regeneratorRuntime = BUN_RUNTIME.regeneratorRuntime;
|
|
export var __exportValue = BUN_RUNTIME.__exportValue;
|
|
export var __exportDefault = BUN_RUNTIME.__exportDefault;
|
|
export var $$bun_runtime_json_parse = JSON.parse;
|
|
export var __internalIsCommonJSNamespace =
|
|
BUN_RUNTIME.__internalIsCommonJSNamespace;
|
|
|
|
globalThis.__internalIsCommonJSNamespace ||= __internalIsCommonJSNamespace;
|
|
globalThis.require ||= BUN_RUNTIME.__require;
|
|
globalThis.self ||= globalThis;
|