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/).
1041
1039
:::
1042
1040
@@ -1097,7 +1095,9 @@ See https://developers.cloudflare.com/workers/wrangler/bundling/ for more detail
1097
1095
1098
1096
## Local development settings
1099
1097
1100
-
Q: is this replaced by vite's server options?
1098
+
:::note
1099
+
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.
1100
+
:::
1101
1101
1102
1102
You can configure various aspects of local development, such as the local protocol or port.
1103
1103
@@ -1143,8 +1143,7 @@ local_protocol = "http"
1143
1143
## Module Aliasing
1144
1144
1145
1145
:::note
1146
-
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).
1148
1147
:::
1149
1148
1150
1149
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