From dbfc62e2885e306fb86c300c4a07dfaa858e2600 Mon Sep 17 00:00:00 2001 From: Dale Seo <5466341+DaleSeo@users.noreply.github.com> Date: Sun, 28 Jan 2024 13:00:54 -0500 Subject: [PATCH] docs: include `.jsx` (#8542) --- docs/bundler/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/bundler/index.md b/docs/bundler/index.md index 142d996011..d83631f93b 100644 --- a/docs/bundler/index.md +++ b/docs/bundler/index.md @@ -155,7 +155,7 @@ Like the Bun runtime, the bundler supports an array of file types out of the box --- -- `.js` `.cjs` `.mjs` `.mts` `.cts` `.ts` `.tsx` +- `.js` `.jsx`, `.cjs` `.mjs` `.mts` `.cts` `.ts` `.tsx` - Uses Bun's built-in transpiler to parse the file and transpile TypeScript/JSX syntax to vanilla JavaScript. The bundler executes a set of default transforms, including dead code elimination, tree shaking, and environment variable inlining. At the moment Bun does not attempt to down-convert syntax; if you use recently ECMAScript syntax, that will be reflected in the bundled code. ---