Skip to content

Commit 476e252

Browse files
committed
aliasing as example
1 parent 68d9ec7 commit 476e252

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/content/docs/workers/wrangler/configuration.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1112,6 +1112,11 @@ local_protocol = "http"
11121112

11131113
## Module Aliasing
11141114

1115+
<Details header="Vite plugin">
1116+
This is replaced "resolve.alias" in Vite - refer to the Vite documentation for
1117+
usage: https://vite.dev/config/shared-options.html#resolve-alias".
1118+
</Details>
1119+
11151120
You can configure Wrangler to replace all calls to import a particular package with a module of your choice, by configuring the `alias` field:
11161121

11171122
<WranglerConfig>

0 commit comments

Comments
 (0)