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
I'm using
pg
which seems to bring this in as a dep. esbuild complains when bundlingthis 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