Skip to content

🎥 Make videos programmatically with React

fix another bug

Jonny Burger0395625e66f2
diff --git a/packages/cli/src/get-cli-options.ts b/packages/cli/src/get-cli-options.ts
index 219ce12ec4..480719d0cc 100644
--- a/packages/cli/src/get-cli-options.ts
+++ b/packages/cli/src/get-cli-options.ts
@@ -1,5 +1,4 @@
-import {RenderInternals} from '@remotion/renderer';
-import {ChromiumOptions} from '@remotion/renderer/src/open-browser';
+import {RenderInternals, ChromiumOptions} from '@remotion/renderer';
import fs from 'fs';
import path from 'path';
import {
diff --git a/packages/lambda/remotionlambda.zip b/packages/lambda/remotionlambda.zip
index 4393ed3e47..3976bad49e 100644
Binary files a/packages/lambda/remotionlambda.zip and b/packages/lambda/remotionlambda.zip differ
diff --git a/packages/lambda/src/api/render-media-on-lambda.ts b/packages/lambda/src/api/render-media-on-lambda.ts
index 340247ff63..0e0fc2b54a 100644
--- a/packages/lambda/src/api/render-media-on-lambda.ts
+++ b/packages/lambda/src/api/render-media-on-lambda.ts
@@ -1,5 +1,4 @@
-import {RenderInternals} from '@remotion/renderer';
-import {ChromiumOptions} from '@remotion/renderer/src/open-browser';
+import {ChromiumOptions, RenderInternals} from '@remotion/renderer';
import {
FrameRange,
ImageFormat,
diff --git a/packages/lambda/src/api/render-still-on-lambda.ts b/packages/lambda/src/api/render-still-on-lambda.ts
index e5df068a15..ce4fe4ca3b 100644
--- a/packages/lambda/src/api/render-still-on-lambda.ts
+++ b/packages/lambda/src/api/render-still-on-lambda.ts
@@ -1,5 +1,4 @@
-import {RenderInternals} from '@remotion/renderer';
-import {ChromiumOptions} from '@remotion/renderer/src/open-browser';
+import {ChromiumOptions, RenderInternals} from '@remotion/renderer';
import {Internals, LogLevel, StillImageFormat} from 'remotion';
import {AwsRegion} from '../pricing/aws-regions';
import {callLambda} from '../shared/call-lambda';
diff --git a/packages/lambda/src/functions/helpers/get-browser-instance.ts b/packages/lambda/src/functions/helpers/get-browser-instance.ts
index 292b7a52ea..d04be08661 100644
--- a/packages/lambda/src/functions/helpers/get-browser-instance.ts
+++ b/packages/lambda/src/functions/helpers/get-browser-instance.ts
@@ -1,5 +1,4 @@
-import {openBrowser} from '@remotion/renderer';
-import {ChromiumOptions} from '@remotion/renderer/src/open-browser';
+import {ChromiumOptions, openBrowser} from '@remotion/renderer';
import {Await} from '../../shared/await';
import {executablePath} from './get-chromium-executable-path';
diff --git a/packages/lambda/src/shared/constants.ts b/packages/lambda/src/shared/constants.ts
index cc528d1eab..6101199558 100644
--- a/packages/lambda/src/shared/constants.ts
+++ b/packages/lambda/src/shared/constants.ts
@@ -1,4 +1,4 @@
-import {ChromiumOptions} from '@remotion/renderer/src/open-browser';
+import {ChromiumOptions} from '@remotion/renderer';
import {
Codec,
FrameRange,
diff --git a/packages/renderer/src/index.ts b/packages/renderer/src/index.ts
index 14fac9ab06..d2c247c43b 100644
--- a/packages/renderer/src/index.ts
+++ b/packages/renderer/src/index.ts
@@ -49,6 +49,7 @@ export {renderStill} from './render-still';
export {stitchFramesToVideo, StitcherOptions} from './stitcher';
export {OnStartData, RenderFramesOutput} from './types';
export {BrowserLog} from './browser-log';
+export type {ChromiumOptions} from './open-browser';
export {openBrowser} from './open-browser';
export const RenderInternals = {