Skip to content

🎥 Make videos programmatically with React

include tailwind in bundle so rendered video matches Player

umungobungo1cab65585db0
diff --git a/packages/template-vercel/remotion.config.ts b/packages/template-vercel/remotion.config.ts
index fa14ff0033..9dc851e4ce 100644
--- a/packages/template-vercel/remotion.config.ts
+++ b/packages/template-vercel/remotion.config.ts
@@ -4,5 +4,7 @@
// Note: When using the Node.JS APIs, the config file doesn't apply. Instead, pass options directly to the APIs
import { Config } from "@remotion/cli/config";
+import { enableTailwind } from "@remotion/tailwind-v4";
Config.setVideoImageFormat("jpeg");
+Config.overrideWebpackConfig(enableTailwind);