An esbuild plugin for compiling Vue 3.x Single File Components (SFC). Version 0.1.4 supports esbuild bundling with @vue/compiler-sfc (>=3.0.0). Provides options for template, script, and style compilation. Differentiators: integrates directly with esbuild's fast bundling pipeline, supports TypeScript types, and offers fine-grained control over Vue SFC compilation options. No maintainer activity since 2021; consider alternatives like @snowpack/plugin-vue or vite for active development.
npm install esbuild-plugin-vue-nextNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates bundling a Vue 3 app with esbuild using the plugin in ESM context.
Migrate to a maintained alternative like vite or @snowpack/plugin-vue.
Use this plugin only with Vue 3 projects.
Use ESM import or set esModuleInterop if using TypeScript with CommonJS.
Use `import type { Options }` and set `skipLibCheck: false` or adjust compilerOptions.Run `npm install esbuild-plugin-vue-next @vue/compiler-sfc`.
Use `import pluginVue from 'esbuild-plugin-vue-next'` (default import).
Use `import pluginVue from 'esbuild-plugin-vue-next'`.
Add `"type": "module"` to package.json or use `.mjs` extension.