Skip to content

Commit e0229e1

Browse files
Update src/content/docs/workers/wrangler/bundling.mdx
1 parent 121761d commit e0229e1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ Furthermore, we have an escape hatch in the form of [Custom Builds](/workers/wra
1717
## Including non-JavaScript modules
1818

1919
Bundling your Worker code takes multiple modules and bundles them into one file.
20-
Sometimes, you might have modules that cannot be inlined directly into the bundle.
21-
For example, instead of bundling a Wasm file into your JavaScript Worker, you would want to upload the Wasm file as a separate module that can be imported at runtime.
20+
However, sometimes you might have modules that cannot be inlined directly into the JavaScript file.
21+
In that case, Wrangler can discover these files and include them in your Worker separately.
22+
For example, instead of bundling a Wasm file into your JavaScript Worker, Wrangler can upload the Wasm file as a separate module that can be imported at runtime.
2223
Wrangler supports this for the following file types:
2324

2425
- `.txt`

0 commit comments

Comments
 (0)