Skip to content

🎥 Make videos programmatically with React

bundle

Jonny Burger0bca63727c0a
diff --git a/packages/lambda/remotionlambda.zip b/packages/lambda/remotionlambda.zip
index 09fec81dec..2afd9961d3 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 b14d6193b4..4b894ea8ac 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 bundleSite(
+ const bundled = await bundle(
entryPoint,
options?.onBundleProgress ?? (() => undefined),
{
diff --git a/packages/lambda/src/shared/bundle-site.ts b/packages/lambda/src/shared/bundle-site.ts
deleted file mode 100644
index c9a0d71ac2..0000000000
--- a/packages/lambda/src/shared/bundle-site.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import {bundle} from '@remotion/bundler';
-
-export const bundleSite = bundle;