Skip to content

Commit d9410b5

Browse files
authored
🐛fix: ignore epub2 compile error (#6779)
1 parent 471e3ed commit d9410b5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

next.config.ts

+6
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,12 @@ const nextConfig: NextConfig = {
217217

218218
config.resolve.alias.canvas = false;
219219

220+
// to ignore epub2 compile error
221+
// refs: https://github.com/lobehub/lobe-chat/discussions/6769
222+
config.resolve.fallback = {
223+
...config.resolve.fallback,
224+
zipfile: false,
225+
};
220226
return config;
221227
},
222228
};

0 commit comments

Comments
 (0)