rx-http-request
rx-http-request copied to clipboard
Doesn't work in webpack 5
Hello. Library doesn't work with webpack 5. Even after changing node
parameter to resolve.fallback
, as stated in migration docs,
the library doesn't work because:
ERROR in ./node_modules/verror/node_modules/extsprintf/lib/extsprintf.js 6:15-30
Module not found: Error: Can't resolve 'util' in '/app/node_modules/verror/node_modules/extsprintf/lib'
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
And many similar errors.
It seems, that rx-http-requests has a lot of dependencies to node
Hi,
I think you have just to follow what is written in the README
here
With that I have no problem to build with webpack in many projects in production.