Skip to content

Commit 1d2754f

Browse files
author
Miriad
committed
fix: use @remotion/lambda/client to avoid @rspack/binding in serverless
The main @remotion/lambda entry point re-exports from @remotion/bundler which pulls in @rspack/core → @rspack/binding (native binary). The /client subpath only exports renderMediaOnLambda + getRenderProgress without the bundler dependency chain. This is the official Remotion approach for serverless environments.
1 parent a712443 commit 1d2754f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/services/remotion.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import {
2121
renderMediaOnLambda,
2222
getRenderProgress,
2323
type AwsRegion,
24-
} from "@remotion/lambda";
24+
} from "@remotion/lambda/client";
2525

2626
// ---------------------------------------------------------------------------
2727
// Types

0 commit comments

Comments
 (0)