[Suggestion] upgrade guide from version 9.x to 10.x dist/esm folder #2052
Closed
thomasneger
started this conversation in
General
Replies: 1 comment
-
|
Very good suggestion, updated the guide: https://github.com/wojtekmaj/react-pdf/wiki/Upgrade-guide-from-version-9.x-to-10.x :) Thanks :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @wojtekmaj, thank you so much for this library. I was just migrating our code base from v9 to v10 and ran into a 404 on the
AnnotationLayer.cssandTextLayer.cssfiles for an esm build.Previously, they were located in the dist/esm folder, now it's just dist. I think it would be nice to leave a trace in the migration notes https://github.com/wojtekmaj/react-pdf/wiki/Upgrade-guide-from-version-9.x-to-10.x that the path has changed.
Maybe something like:
In case you were using support for annotations or text layer, update the paths as so:
Hope this helps someone else. Best.
Beta Was this translation helpful? Give feedback.
All reactions