Skip to content

🎥 Make videos programmatically with React

Fix light client description about dependencies

Jonny Burger2c3ef1fa7bc1
diff --git a/packages/docs/docs/cloudrun/light-client.md b/packages/docs/docs/cloudrun/light-client.md
index 4f8f66adda..bc44872a57 100644
--- a/packages/docs/docs/cloudrun/light-client.md
+++ b/packages/docs/docs/cloudrun/light-client.md
@@ -22,17 +22,18 @@ import {
getSites,
renderMediaOnCloudrun,
renderStillOnCloudrun,
- speculateServiceName
+ speculateServiceName,
} from "@remotion/cloudrun/client";
import type {
RenderMediaOnCloudrunInput,
- RenderStillOnCloudrunInput
-} from "@remotion/cloudrun/client"
+ RenderStillOnCloudrunInput,
+} from "@remotion/cloudrun/client";
```
+These functions don't have any dependencies on our renderer and can be bundled for example with ESBuild or Webpack (like is the case for example in Next.js).
-These functions don't have any Node.JS or Bun dependencies and can be bundled with a bundler such as Webpack or ESBuild.
+Importing the light client on edge frameworks (Vercel Edge, Cloudflare Workers) is currently not supported.
**We don't recommend calling these functions from the browser directly, as you will leak your Google Cloud Platform credentials.**
diff --git a/packages/docs/docs/lambda/light-client.md b/packages/docs/docs/lambda/light-client.md
index 2e41f99fc4..aa89221ed0 100644
--- a/packages/docs/docs/lambda/light-client.md
+++ b/packages/docs/docs/lambda/light-client.md
@@ -35,7 +35,9 @@ import {
`getServiceClient()` was included from v4.0.60 to v4.0.81 by mistake. Use [`getAwsClient()`](/docs/lambda/getawsclient) instead.
:::
-These functions don't have any Node.JS or Bun dependencies and can be bundled with a bundler such as Webpack or ESBuild.
+These functions don't have any dependencies on our renderer and can be bundled for example with ESBuild or Webpack (like is the case for example in Next.js).
+
+Importing the light client on edge frameworks (Vercel Edge, Cloudflare Workers) is currently not supported.
**We don't recommend calling these functions from the browser directly, as you will leak your AWS credentials.**