Skip to content

🎥 Make videos programmatically with React

remove unnecessary file

Jonny Burgera7e2add3dd66
diff --git a/packages/lambda/src/api/deploy-site.ts b/packages/lambda/src/api/deploy-site.ts
index 371e437036..da0079ee1e 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} from '../shared/constants';
import {getAccountId} from '../shared/get-account-id';
import {makeS3ServeUrl} from '../shared/make-s3-url';
@@ -69,7 +69,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;