diff --git a/src/content/docs/workers/vite-plugin/reference/api.mdx b/src/content/docs/workers/vite-plugin/reference/api.mdx index cde4a5e711903eb..c267f5da30decc4 100644 --- a/src/content/docs/workers/vite-plugin/reference/api.mdx +++ b/src/content/docs/workers/vite-plugin/reference/api.mdx @@ -73,6 +73,11 @@ It accepts an optional `PluginConfig` parameter. You can inspect the `dist` directory and then run `wrangler deploy -c dist//wrangler.json` for each. ::: +- `remoteBindings` + + Whether or not [remote bindings](/workers/development-testing/#remote-bindings) should be enabled. Defaults to `true`. + + ## `interface AuxiliaryWorkerConfig` - `configPath` diff --git a/src/content/docs/workers/wrangler/api.mdx b/src/content/docs/workers/wrangler/api.mdx index b62b08302b19459..3f04dac5828485a 100644 --- a/src/content/docs/workers/wrangler/api.mdx +++ b/src/content/docs/workers/wrangler/api.mdx @@ -300,11 +300,9 @@ const platform = await getPlatformProxy(options); **Note:** If you use `wrangler`'s `--persist-to` option, note that this option adds a subdirectory called `v3` under the hood while `getPlatformProxy`'s `persist` does not. For example, if you run `wrangler dev --persist-to ./my-directory`, to reuse the same location using `getPlatformProxy`, you will have to specify: `persist: { path: "./my-directory/v3" }`. - - `experimental` `{ remoteBindings: boolean }` + - `remoteBindings` boolean - Object used to enable experimental features, no guarantees are made to the stability of this API, use at your own risk. - - - `remoteBindings` Enables `getPlatformProxy` to connect to [remote bindings](/workers/development-testing/#remote-bindings). + Whether or not [remote bindings](/workers/development-testing/#remote-bindings) should be enabled. ### Return Type diff --git a/src/content/docs/workers/wrangler/commands.mdx b/src/content/docs/workers/wrangler/commands.mdx index 0e3826b2462046f..562578d98641acb 100644 --- a/src/content/docs/workers/wrangler/commands.mdx +++ b/src/content/docs/workers/wrangler/commands.mdx @@ -246,6 +246,10 @@ None of the options for this command are required. Many of these options can be - Show the interactive dev session. - `--alias` `Array` - Specify modules to alias using [module aliasing](/workers/wrangler/configuration/#module-aliasing). +- `--local` + - Run in local mode. In this mode: + - the Worker code is running locally on your machine + - all [remote bindings](/workers/development-testing/#remote-bindings) are disabled, which behaves exactly as if there were configured with `remote: false`.