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
- If you're using the [Cloudflare Vite plugin](/workers/local-development/vite/), `minify` is replaced by Vite's [`build.minify`](https://vite.dev/config/build-options.html#build-minify).
- If you're using the [Cloudflare Vite plugin](/workers/local-development/vite/), this is replaced by Vite's [`define`](https://vite.dev/config/shared-options.html#define).
Wrangler bundling is not applicable if you're using the [Cloudflare Vite plugin](/workers/local-development/vite/).
1038
1036
:::
1039
1037
@@ -1094,7 +1092,9 @@ See https://developers.cloudflare.com/workers/wrangler/bundling/ for more detail
1094
1092
1095
1093
## Local development settings
1096
1094
1097
-
Q: is this replaced by vite's server options?
1095
+
:::note
1096
+
If you're using the [Cloudflare Vite plugin](/workers/local-development/vite/), you should use Vite's [server options]](https://vite.dev/config/server-options.html) instead.
1097
+
:::
1098
1098
1099
1099
You can configure various aspects of local development, such as the local protocol or port.
1100
1100
@@ -1140,8 +1140,7 @@ local_protocol = "http"
1140
1140
## Module Aliasing
1141
1141
1142
1142
:::note
1143
-
If you're using the [Cloudflare Vite plugin](/workers/local-development/vite/), `alias` is replaced Vite's `resolve.alias` - refer to the [Vite
If you're using the [Cloudflare Vite plugin](/workers/local-development/vite/), `alias` is replaced Vite's [`resolve.alias`](https://vite.dev/config/shared-options.html#resolve-alias).
1145
1144
:::
1146
1145
1147
1146
You can configure Wrangler to replace all calls to import a particular package with a module of your choice, by configuring the `alias` field:
0 commit comments