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

Usage with esbuild triggers warnings #73

Open
tcodes0 opened this issue Apr 19, 2021 · 0 comments
Open

Usage with esbuild triggers warnings #73

tcodes0 opened this issue Apr 19, 2021 · 0 comments

Comments

@tcodes0
Copy link

tcodes0 commented Apr 19, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant