Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: refine esbuild & node detection #2677

Merged
merged 1 commit into from
Feb 9, 2024
Merged

Commits on Feb 1, 2024

  1. chore: refine esbuild & node detection

    When using the loader for external builtins, `esbuildDetection` is
    undefined. This commit defines `__UNDICI_IS_NODE__` on `globalThis`
    in the loader and deletes it after loading Undici. `esbuildDetection`
    has also been extracted as a variable at the top level of the module,
    to support deleting `__UNDICI_IS_NODE__` on `globalThis` to avoid
    polluting the global namespace.
    mochaaP committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    904bfc2 View commit details
    Browse the repository at this point in the history