Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

build(web): align ffmpeg tracing with workflow and loom-download routes

Richie McIlroy84c417ac455f
diff --git a/apps/web/next.config.mjs b/apps/web/next.config.mjs
index e5e96de9b..b1c37b1a5 100644
--- a/apps/web/next.config.mjs
+++ b/apps/web/next.config.mjs
@@ -11,14 +11,17 @@ const packageJson = JSON.parse(
);
const { version } = packageJson;
+const ffmpegTracingIncludes = [
+ "./node_modules/ffmpeg-static/ffmpeg",
+ "./node_modules/.pnpm/[email protected]/node_modules/ffmpeg-static/ffmpeg",
+];
+
const nextConfig = {
reactStrictMode: true,
serverExternalPackages: ["ffmpeg-static", "prettier"],
outputFileTracingIncludes: {
- "/app/.well-known/workflow/v1/step": [
- "./node_modules/ffmpeg-static/ffmpeg",
- "./node_modules/.pnpm/[email protected]/node_modules/ffmpeg-static/ffmpeg",
- ],
+ "/.well-known/workflow/v1/step": ffmpegTracingIncludes,
+ "/api/tools/loom-download": ffmpegTracingIncludes,
},
transpilePackages: [
"@cap/ui",