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
The Vite plugin ensures that all of Vite's [static asset handling](https://vite.dev/guide/assets) features are supported in your Worker as well as in your frontend.
41
-
This includes importing assets as URLs, inlining assets, importing assets as strings and importing assets from the `public` directory.
41
+
These include importing assets as URLs, importing as strings and importing from the `public` directory as well as inlining assets.
42
42
43
43
Assets [imported as URLs](https://vite.dev/guide/assets#importing-asset-as-url) can be fetched via the [assets binding](/workers/static-assets/binding/#binding).
44
44
As the binding's `fetch` method requires a full URL, we recommend using the request URL as the `base`.
0 commit comments