Open andreaskundig opened 6 years ago
I made it work by setting webpack.config.js to ignore pg.js, in the same way I had to tell it to ignore pg-native.
output: {...},
plugins: [
new webpack.IgnorePlugin(/^pg-native$/),
new webpack.IgnorePlugin(/^pg.js.*/)
],
module: {...}
You could try this PR: #47
I get this error with webpack 4.16.5:
This problem has been around for a while, as this comment from 2017 attests: https://github.com/brianc/node-pg-cursor/commit/af84d5cd4bde99981ebef291fcf7da3d446722da#commitcomment-22901440