Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions platform-includes/sourcemaps/overview/javascript.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,18 @@ If you used Create React App to set up your React application see our <PlatformL
- <PlatformLink to="/sourcemaps/uploading/vite/">Vite</PlatformLink>
- <PlatformLink to="/sourcemaps/uploading/esbuild/">esbuild</PlatformLink>

<Alert>
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.
</Alert>

<PlatformSection supported={['javascript.cloudflare']}>
<Alert>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we avoid double-alerts here? So, can we just put this content in the alert above, when on cloudflare?

When deploying to Cloudflare Pages, select the bundler that matches your framework as noted above.

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.
</Alert>
</PlatformSection>

### Guides for Source Maps

- <PlatformLink to="/sourcemaps/uploading/typescript/">
Expand Down