Skip to content

🎥 Make videos programmatically with React

Update next.config.js

Jonny Burgerba00afbb3511
diff --git a/packages/template-vercel/next.config.js b/packages/template-vercel/next.config.js
index 6799ea30b3..f76a793d74 100644
--- a/packages/template-vercel/next.config.js
+++ b/packages/template-vercel/next.config.js
@@ -3,7 +3,7 @@ const nextConfig = {
reactStrictMode: true,
// Include the Remotion bundle in the API route
outputFileTracingIncludes: {
- "/api/render": "./remotion",
+ "/api/render": ["./remotion"],
},
};