fix(web): add encoding fallback for html-to-docx bundle

Prevent client webpack warnings from node-fetch optional encoding resolution in html-to-docx.
This commit is contained in:
kumarabhirup 2026-03-04 11:07:47 -08:00
parent bc6a4d5a37
commit afab67a38b
No known key found for this signature in database
GPG Key ID: DB7CA2289CAB0167

View File

@ -24,6 +24,7 @@ const nextConfig: NextConfig = {
config.resolve.fallback = {
...config.resolve.fallback,
fs: false,
encoding: false,
};
}
if (dev) {