mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 02:48:50 +00:00
* some progess * needs more tests * make tests easier to debug * get metadata for constructor arg decorators * fix some things * merge `emitDecoratorMetadata` option * remove `^` * bundler tests and get option from tsconfig earlier * remove spaces * fix tests
30 lines
1.5 KiB
JavaScript
30 lines
1.5 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 __merge = BUN_RUNTIME.__merge;
|
|
export var __legacyDecorateClassTS = BUN_RUNTIME.__legacyDecorateClassTS;
|
|
export var __legacyDecorateParamTS = BUN_RUNTIME.__legacyDecorateParamTS;
|
|
export var __legacyMetadataTS = BUN_RUNTIME.__legacyMetadataTS;
|
|
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;
|