Skip to content

🎥 Make videos programmatically with React

add `src/remotion/Root.tsx` and `src/remotion/Root.tsx` as possible entrypoints

Jonny Burger39db76e0f212
diff --git a/packages/cli/src/preview-server/project-info.ts b/packages/cli/src/preview-server/project-info.ts
index 055a689083..2afb45df29 100644
--- a/packages/cli/src/preview-server/project-info.ts
+++ b/packages/cli/src/preview-server/project-info.ts
@@ -15,6 +15,8 @@ export const getProjectInfo = (remotionRoot: string): Promise<ProjectInfo> => {
'app/remotion/Root.tsx',
'src/Video.tsx',
'src/Video.jsx',
+ 'src/remotion/Root.tsx',
+ 'src/remotion/Root.jsx',
].map((p) => {
return path.join(remotionRoot, p);
});