diff --git a/src/content/docs/workers/vite-plugin/reference/static-assets.mdx b/src/content/docs/workers/vite-plugin/reference/static-assets.mdx index be611c5e121200..bf0ed936d1e10f 100644 --- a/src/content/docs/workers/vite-plugin/reference/static-assets.mdx +++ b/src/content/docs/workers/vite-plugin/reference/static-assets.mdx @@ -38,8 +38,6 @@ Custom [headers](/workers/static-assets/headers/) and [redirects](/workers/stati The paths in these files should reflect the structure of your client build output. For example, generated assets are typically located in an [assets subdirectory](https://vite.dev/config/build-options#build-assetsdir). -
+## Run Worker first -:::note -The Cloudflare Vite plugin does not support [run_worker_first](/workers/static-assets/binding/#run_worker_first). -::: +Running the Worker ahead of asset handling [run_worker_first](/workers/static-assets/binding/#run_worker_first) is supported at build, preview and deploy time by adding `"run_worker_first" = true` to your Wrangler config.