Files
red/teressa-copeland-homes/next.config.ts
Chandler Copeland 63e5888968 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
2026-03-19 21:42:06 -06:00

8 lines
155 B
TypeScript

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
transpilePackages: ['react-pdf', 'pdfjs-dist'],
};
export default nextConfig;