Skip to content

NOREF: Fix compatibility issues with Next.js #193

Merged
alea12 merged 3 commits intomainfrom
NOREF/fix-npm-release
Feb 25, 2026
Merged

NOREF: Fix compatibility issues with Next.js #193
alea12 merged 3 commits intomainfrom
NOREF/fix-npm-release

Conversation

@jackiequach
Copy link
Copy Markdown
Collaborator

  • Downgrades react-pdf 9.2.1 to avoid pdfjs (DOMMatrix) SSR/build failures in Next.js. This is a known issue which may be resolved in newer Next.js (untested).
  • To prevent the runtime error, CSS Imported by a Dependency, the consuming app will need to import the rect-pdf CSS files.

@jackiequach jackiequach requested a review from alea12 as a code owner February 23, 2026 19:52
@vercel
Copy link
Copy Markdown

vercel bot commented Feb 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
web-reader Ready Ready Preview, Comment Feb 23, 2026 9:04pm

Request Review

Copy link
Copy Markdown
Member

@alea12 alea12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for updating the docs as well!

@alea12 alea12 merged commit 53549d0 into main Feb 25, 2026
7 checks passed
@alea12 alea12 deleted the NOREF/fix-npm-release branch February 25, 2026 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants