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:
parent
bc6a4d5a37
commit
afab67a38b
@ -24,6 +24,7 @@ const nextConfig: NextConfig = {
|
||||
config.resolve.fallback = {
|
||||
...config.resolve.fallback,
|
||||
fs: false,
|
||||
encoding: false,
|
||||
};
|
||||
}
|
||||
if (dev) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user