Skip to content

Usage with esbuild triggers warnings #73

Description

@rthomazel

I'm using pg which seems to bring this in as a dep. esbuild complains when bundling

 > node_modules/bindings/bindings.js:94:8: warning: Indirect calls to "require" will not be bundled (surround with a try/catch to silence this warning)
    94 │       : require;
       ╵         ~~~~~~~

this part seems to be the problem as it doesn't like require changing names.

Simplest solution is to remove that piece of code but that might break webpack support, so not sure.

Not too familiar with the lib or what it does, just opening for awareness

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions