Skip to content

🎥 Make videos programmatically with React

fix remotion root for bundling

Jonny Burgera097e1615458
diff --git a/packages/cli/src/setup-cache.ts b/packages/cli/src/setup-cache.ts
index c9a10a98e1..beca30b049 100644
--- a/packages/cli/src/setup-cache.ts
+++ b/packages/cli/src/setup-cache.ts
@@ -33,6 +33,7 @@ export const bundleOnCli = async ({
const options: BundleOptions = {
enableCaching: shouldCache,
webpackOverride: ConfigInternals.getWebpackOverrideFn() ?? ((f) => f),
+ remotionRoot,
};
const [hash] = BundlerInternals.getConfig({