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

Fix interop with bundled CJS dependencies #199

Merged
merged 8 commits into from Aug 10, 2023
Merged

Commits on Aug 10, 2023

  1. Refactor

    thecrypticace committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    076704a View commit details
    Browse the repository at this point in the history
  2. Add workaround for __filename and __dirname not being defined

    We bundle several CJS deps but the top-level format is ESM. Unfortunately esbuild does not handle converting `__filename` and `__dirname` for us so we have to patch them after build.
    thecrypticace committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    be9797c View commit details
    Browse the repository at this point in the history
  3. Update lockfile

    thecrypticace committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    7ebe1f0 View commit details
    Browse the repository at this point in the history
  4. Add global require

    thecrypticace committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    a00d349 View commit details
    Browse the repository at this point in the history
  5. Simplify

    Now that we define a top-level require constant we no longer need to patch the `__require` esbuild function to indirectly use it for dynamic requires
    thecrypticace committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    e3bdb0d View commit details
    Browse the repository at this point in the history
  6. Fix CS

    thecrypticace committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    567f4eb View commit details
    Browse the repository at this point in the history
  7. Rename plugin

    thecrypticace committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    40ff090 View commit details
    Browse the repository at this point in the history
  8. Update changelog

    thecrypticace committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    69f2f49 View commit details
    Browse the repository at this point in the history