From afab67a38b14168c36dee5f196b400bf87bd37d9 Mon Sep 17 00:00:00 2001 From: kumarabhirup Date: Wed, 4 Mar 2026 11:07:47 -0800 Subject: [PATCH] fix(web): add encoding fallback for html-to-docx bundle Prevent client webpack warnings from node-fetch optional encoding resolution in html-to-docx. --- apps/web/next.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/web/next.config.ts b/apps/web/next.config.ts index f38081fbf4a..1657b7212db 100644 --- a/apps/web/next.config.ts +++ b/apps/web/next.config.ts @@ -24,6 +24,7 @@ const nextConfig: NextConfig = { config.resolve.fallback = { ...config.resolve.fallback, fs: false, + encoding: false, }; } if (dev) {