react-pdf
react-pdf copied to clipboard
Anybody get latest release to work with webpack 4?
Trying to get latest release to build with my React app, which I created with create-react-app but have since ejected. I get the following errors:

My versions: react-pdf 4.0.0 pdfjs-dist 2.0.943 webpack 4.26.1
I import as follows:

Any help would be greatly appreciated.
Using un-ejected CRA2, I get the same warnings. My import looks as follows:

Everything appears to work correctly, though.
Tried your import, still no joy for me. Thanks though!
Duplicate of #280