react-pdf
react-pdf copied to clipboard
Can't resolve 'stream' and 'zlib' (fix using react-rewired?)
I am gettin gthe error Can't resolve 'stream' and 'zlib'
I know you can fix it using craco as shown here
But craco is soon to be discountinued, so I would rather use react-rewired. So, my question is, how do I fix this resolve issue using react-rewired?
This should be fixed with #1891, once react-pdf is released in a new version.
This should now be fixed in @react-pdf/renderer v3.0.0. Can we close this issue?