diff --git a/apps/web/next.config.ts b/apps/web/next.config.ts index 1657b7212db..bf08a619cc0 100644 --- a/apps/web/next.config.ts +++ b/apps/web/next.config.ts @@ -21,6 +21,7 @@ const nextConfig: NextConfig = { webpack: (config, { dev, isServer }) => { if (!isServer) { + // html-to-docx references Node-only modules that should not be resolved in browser bundles. config.resolve.fallback = { ...config.resolve.fallback, fs: false,