00ba6edc66
Updated build script to output .cjs files instead of .js, and updated action.yml to reference the new .cjs files. Also clarified proxy environment variable handling in bootstrap.js for consistency.
8 lines
296 B
JavaScript
8 lines
296 B
JavaScript
// Enable env-based proxy support unless caller explicitly set NODE_USE_ENV_PROXY
|
|
if (process.env.NODE_USE_ENV_PROXY == null) {
|
|
process.env.NODE_USE_ENV_PROXY = 1;
|
|
}
|
|
|
|
// Import main after environment prepared. Using dynamic import so this executes first even when bundled.
|
|
import("./main.js");
|