🎥 Make videos programmatically with React
remove unnecessary bundleDir passthrough
Jonny Burger02123c52ddba
diff --git a/packages/core/src/CompositionManager.tsx b/packages/core/src/CompositionManager.tsxindex 0de96dff17..fd287e12f4 100644--- a/packages/core/src/CompositionManager.tsx+++ b/packages/core/src/CompositionManager.tsx@@ -64,7 +64,6 @@ export type TAsset = {export type RenderAssetInfo = {assets: TAsset[][];- bundleDir: string | null;};export type CompositionManagerContext = {diff --git a/packages/lambda/src/functions/renderer.ts b/packages/lambda/src/functions/renderer.tsindex b74376f85d..cda8ecc4d3 100644--- a/packages/lambda/src/functions/renderer.ts+++ b/packages/lambda/src/functions/renderer.ts@@ -78,7 +78,6 @@ const renderHandler = async (params: LambdaPayload) => {outputDir: outputPath,puppeteerInstance: browserInstance,serveUrl: params.serveUrl,- bundleDir: null,quality: params.quality,envVariables: params.envVariables,onError: () => {diff --git a/packages/renderer/src/render.ts b/packages/renderer/src/render.tsindex 9f22d545ca..1a715872d9 100644--- a/packages/renderer/src/render.ts+++ b/packages/renderer/src/render.ts@@ -43,7 +43,6 @@ export const renderFrames = async ({serveUrl,onError,envVariables,- bundleDir,}: {config: VideoConfig;compositionId: string;@@ -62,8 +61,6 @@ export const renderFrames = async ({browser?: Browser;frameRange?: FrameRange | null;serveUrl: string;- // TODO: It's just pass through but not really needed- bundleDir: string | null;dumpBrowserLogs?: boolean;puppeteerInstance: PuppeteerBrowser;onError?: (info: OnErrorInfo) => void;@@ -192,7 +189,6 @@ export const renderFrames = async ({return {assetsInfo: {assets,- bundleDir,},frameCount,};