Resolve "Nodejs 17 breaks webpack 5"
This MR fixes nodejs 17+ compatibility:
- Use the
xxhash64
algorithm, asmd4
is no longer available. - Use the
webpack5
entrypoint forreact-pdf
, since the legacy entrypoint usedmd4
hashing.- Adds a polyfill for
buffer
, as it is not provided by nodejs 17.
- Adds a polyfill for
- Changes the proxy url to
127.0.0.1
, aslocalhost
can default to[::1]
(ipv6) in nodejs 17+
Closes #667 (closed)
Edited by Hugo Kerstens