Files
create-github-app-token/bootstrap.js
T
Parker Brown 6423fe3683 Add bootstrap entry for env-based proxy support
Introduces bootstrap.js to set NODE_USE_ENV_PROXY before loading main.js, ensuring proxy support is enabled unless explicitly opted out. Updates action.yml to use bootstrap as the main entry and modifies build script to bundle bootstrap.js.
2025-08-22 13:10:57 -07:00

8 lines
288 B
JavaScript

// Enable env-based proxy support (honors explicit opt-out if caller set NODE_USE_ENV_PROXY)
if (process.env.NODE_USE_ENV_PROXY == null) {
process.env.NODE_USE_ENV_PROXY = "1";
}
// Defer to original main entry (dynamic import ensures above code runs first)
await import("./main.js");