esbuild-plugin-jsx v1.0.1 is a lightweight esbuild plugin that enables Vue 3 JSX/TSX support. It transpiles JSX syntax in Vue 3 single-file components using esbuild's built-in JSX transform with Vue's runtime. Unlike @vitejs/plugin-vue-jsx, this plugin is designed for standalone esbuild usage (e.g., in Rollup, Webpack, or CLI builds). It ships TypeScript declarations and has no dependencies. Release cadence is infrequent; current stable version is 1.0.1, unchanged since initial release. Key differentiator: minimal, zero-config integration for Vue 3 JSX in esbuild pipelines.
npm install esbuild-plugin-jsxNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates bundling a Vue 3 TSX file with esbuild using the JSX plugin.
Ensure vue is installed as a dependency and included in the bundle.
Use a separate esbuild plugin (e.g., esbuild-vue) for .vue files.
If you need custom JSX pragma, consider forking the plugin or using @vitejs/plugin-vue-jsx.
N/A
Add 'esbuild-plugin-jsx' to external in esbuild config: external: ['esbuild-plugin-jsx']
Use default import: import vueJsx from 'esbuild-plugin-jsx'
Use import type: import type { VueJsxOptions } from 'esbuild-plugin-jsx'No dependency data recorded yet.