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/).
1036
1034
:::
1037
1035
@@ -1092,7 +1090,9 @@ See https://developers.cloudflare.com/workers/wrangler/bundling/ for more detail
1092
1090
1093
1091
## Local development settings
1094
1092
1095
-
Q: is this replaced by vite's server options?
1093
+
:::note
1094
+
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.
1095
+
:::
1096
1096
1097
1097
You can configure various aspects of local development, such as the local protocol or port.
1098
1098
@@ -1138,8 +1138,7 @@ local_protocol = "http"
1138
1138
## Module Aliasing
1139
1139
1140
1140
:::note
1141
-
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).
1143
1142
:::
1144
1143
1145
1144
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