Skip to content

Commit 25368f8

Browse files
committed
docs(source-maps): Add hints for bundler selection in wizard
1 parent 2ecbffb commit 25368f8

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

platform-includes/sourcemaps/overview/javascript.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,18 @@ If you used Create React App to set up your React application see our <PlatformL
3131
- <PlatformLink to="/sourcemaps/uploading/vite/">Vite</PlatformLink>
3232
- <PlatformLink to="/sourcemaps/uploading/esbuild/">esbuild</PlatformLink>
3333

34+
<Alert>
35+
Select the bundler that corresponds to your framework. If you're unsure which bundler your framework uses, check your project's `package.json`, build configuration files, or the framework's documentation.
36+
</Alert>
37+
38+
<PlatformSection supported={['javascript.cloudflare']}>
39+
<Alert>
40+
When deploying to Cloudflare Pages, select the bundler that matches your framework as noted above.
41+
42+
When deploying to Cloudflare Workers, select `esbuild` as this is the [bundler used by Wrangler](https://developers.cloudflare.com/workers/wrangler/bundling/), Cloudflare's official CLI tool for Workers.
43+
</Alert>
44+
</PlatformSection>
45+
3446
### Guides for Source Maps
3547

3648
- <PlatformLink to="/sourcemaps/uploading/typescript/">

0 commit comments

Comments
 (0)