Skip to content

🎥 Make videos programmatically with React

Revert "bundle"

Jonny Burger5cf620752127
diff --git a/packages/lambda/remotionlambda.zip b/packages/lambda/remotionlambda.zip
index 2afd9961d3..09fec81dec 100644
Binary files a/packages/lambda/remotionlambda.zip and b/packages/lambda/remotionlambda.zip differ
diff --git a/packages/lambda/src/api/deploy-site.ts b/packages/lambda/src/api/deploy-site.ts
index 4b894ea8ac..b14d6193b4 100644
--- a/packages/lambda/src/api/deploy-site.ts
+++ b/packages/lambda/src/api/deploy-site.ts
@@ -1,7 +1,7 @@
-import {bundle} from '@remotion/bundler';
import {Internals, WebpackOverrideFn} from 'remotion';
import {deleteSite} from '../api/delete-site';
import {AwsRegion} from '../pricing/aws-regions';
+import {bundleSite} from '../shared/bundle-site';
import {getSitesKey, REMOTION_BUCKET_PREFIX} from '../shared/constants';
import {getAccountId} from '../shared/get-account-id';
import {makeS3ServeUrl} from '../shared/make-s3-url';
@@ -79,7 +79,7 @@ export const deploySite = async ({
region,
siteName: siteId,
});
- const bundled = await bundle(
+ const bundled = await bundleSite(
entryPoint,
options?.onBundleProgress ?? (() => undefined),
{
diff --git a/packages/lambda/src/shared/bundle-site.ts b/packages/lambda/src/shared/bundle-site.ts
new file mode 100644
index 0000000000..c9a0d71ac2
--- /dev/null
+++ b/packages/lambda/src/shared/bundle-site.ts
@@ -0,0 +1,3 @@
+import {bundle} from '@remotion/bundler';
+
+export const bundleSite = bundle;