Skip to content

Commit 5904429

Browse files
committed
Add support note
1 parent ff4aff9 commit 5904429

File tree

1 file changed

+11
-11
lines changed
  • src/content/docs/workers/development-testing

1 file changed

+11
-11
lines changed

src/content/docs/workers/development-testing/index.mdx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ During local development, your Worker code interacts with these bindings using t
6969

7070
## Remote bindings
7171

72-
**Remote bindings** are bindings that are configured to connect to the deployed, remote resource during local development _instead_ of the locally simulated resource. You can configure remote bindings by setting `remote: true` in the binding definition.
72+
**Remote bindings** are bindings that are configured to connect to the deployed, remote resource during local development _instead_ of the locally simulated resource. Remote bindings are supported by [**Wrangler**](/workers/wrangler/), the [**Cloudflare Vite plugin**](/workers/vite-plugin/), and the `@cloudflare/vitest-pool-workers` package. You can configure remote bindings by setting `remote: true` in the binding definition.
7373

7474
### Example configuration
7575

@@ -363,16 +363,16 @@ let mf: Miniflare | null;
363363
let remoteProxySessionDetails: Awaited<ReturnType<typeof maybeStartOrUpdateRemoteProxySession>> | null = null;
364364

365365
async function startOrUpdateDevSession() {
366-
remoteProxySessionDetails = await maybeStartOrUpdateRemoteProxySession({
367-
bindings: {
368-
MY_KV: {
369-
type: 'kv_namespace',
370-
id: 'kv-id',
371-
remote: true,
372-
}
373-
}
374-
},
375-
remoteProxySessionDetails
366+
remoteProxySessionDetails = await maybeStartOrUpdateRemoteProxySession({
367+
bindings: {
368+
MY_KV: {
369+
type: 'kv_namespace',
370+
id: 'kv-id',
371+
remote: true,
372+
}
373+
}
374+
},
375+
remoteProxySessionDetails
376376
);
377377

378378
const miniflareOptions: MiniflareOptions = {

0 commit comments

Comments
 (0)