mirror of
https://github.com/lobehub/lobehub.git
synced 2026-03-26 13:19:34 +07:00
🐛 fix: add ffmpeg-static to default serverExternalPackages (#12846)
This commit is contained in:
@@ -18,12 +18,6 @@ const vercelConfig = {
|
||||
'packages/database/migrations/**',
|
||||
],
|
||||
},
|
||||
outputFileTracingIncludes: {
|
||||
'/api/webhooks/video/*': [
|
||||
'./node_modules/ffmpeg-static/ffmpeg',
|
||||
'./node_modules/.pnpm/ffmpeg-static@*/node_modules/ffmpeg-static/ffmpeg',
|
||||
],
|
||||
},
|
||||
};
|
||||
const nextConfig = defineConfig({
|
||||
...(isVercel ? vercelConfig : {}),
|
||||
|
||||
@@ -356,6 +356,7 @@ export function defineConfig(config: CustomNextConfig) {
|
||||
'pdfkit',
|
||||
'@napi-rs/canvas',
|
||||
'discord.js',
|
||||
'ffmpeg-static',
|
||||
'pdfjs-dist',
|
||||
'ajv',
|
||||
'oidc-provider',
|
||||
|
||||
Reference in New Issue
Block a user