You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/workers/vite-plugin/reference/static-assets.mdx
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,8 +38,6 @@ Custom [headers](/workers/static-assets/headers/) and [redirects](/workers/stati
38
38
The paths in these files should reflect the structure of your client build output.
39
39
For example, generated assets are typically located in an [assets subdirectory](https://vite.dev/config/build-options#build-assetsdir).
40
40
41
-
<br />
41
+
## Run Worker first
42
42
43
-
:::note
44
-
The Cloudflare Vite plugin does not support [run_worker_first](/workers/static-assets/binding/#run_worker_first).
45
-
:::
43
+
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.
0 commit comments