From 461abb0dc42d3c1e2487c9fb17a80f82dc7b6980 Mon Sep 17 00:00:00 2001 From: Chandler Copeland Date: Sat, 21 Mar 2026 17:43:16 -0600 Subject: [PATCH] fix(13): mark @napi-rs/canvas as serverExternalPackages to prevent Turbopack bundling native .node binding Co-Authored-By: Claude Sonnet 4.6 --- teressa-copeland-homes/next.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/teressa-copeland-homes/next.config.ts b/teressa-copeland-homes/next.config.ts index 45528ad..56620d9 100644 --- a/teressa-copeland-homes/next.config.ts +++ b/teressa-copeland-homes/next.config.ts @@ -2,6 +2,7 @@ import type { NextConfig } from "next"; const nextConfig: NextConfig = { transpilePackages: ['react-pdf', 'pdfjs-dist'], + serverExternalPackages: ['@napi-rs/canvas'], }; export default nextConfig;