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:
Chandler Copeland
2026-03-19 21:42:06 -06:00
parent 7ddb920467
commit 63e5888968
3 changed files with 364 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
/* config options here */
transpilePackages: ['react-pdf', 'pdfjs-dist'],
};
export default nextConfig;