feat(04-03): install react-pdf and configure Next.js transpilePackages
- npm install react-pdf (v9+ pulls in pdfjs-dist automatically) - Add transpilePackages: ['react-pdf', 'pdfjs-dist'] to next.config.ts - Build verified passing after config change
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
"postgres": "^3.4.8",
|
||||
"react": "19.2.4",
|
||||
"react-dom": "19.2.4",
|
||||
"react-pdf": "^10.4.1",
|
||||
"zod": "^4.3.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
Reference in New Issue
Block a user