Files
wehub-resource-sync dbe3ade0dc
Enforce Pull-Request Rules / check (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:19:24 +08:00

9 lines
313 B
JavaScript

/*
* Bridge for SunCalc v2 (ESM-only entry):
* default modules still expect a global `SunCalc` from getScripts()/vendor loading.
* Keep this as a tiny compatibility shim until the module loader is fully ESM-first.
*/
import * as SunCalc from "../node_modules/suncalc/index.js";
globalThis.SunCalc = SunCalc;