🎥 Make videos programmatically with React
revert this
Jonny Burger597b19831a6f
diff --git a/packages/lambda/src/shared/bundle-site.ts b/packages/lambda/src/shared/bundle-site.tsindex 3df4775f43..c9a0d71ac2 100644--- a/packages/lambda/src/shared/bundle-site.ts+++ b/packages/lambda/src/shared/bundle-site.ts@@ -1,11 +1,3 @@-import type {bundle} from '@remotion/bundler';+import {bundle} from '@remotion/bundler';-// don't import @remotion/bundle at top so the bundler module can-// be omitted if you are using esbuild to bundle.-// eventually we could make a lambda-client that only exports browser-supported functions--// or we export it as an ECMAscript module and allow a treeshake.-export const bundleSite: typeof bundle = async (...args) => {- const bundler = require('@remotion/bundler').bundle as typeof bundle;- return bundler(...args);-};+export const bundleSite = bundle;