{"library":"esbuild-vue","type":"library","category":null,"description":"This plugin enables esbuild to process and bundle Vue 2 Single-File Components (SFCs). It specifically targets Vue 2, leveraging `vue-template-compiler` (a peer dependency) to compile `<template>`, `<script>`, and `<style>` blocks within `.vue` files into a format consumable by esbuild. The plugin offers features like CSS extraction, PostCSS processing, and can utilize Node.js `worker_threads` via `Piscina` for parallel compilation of multiple SFCs, which can enhance build performance for larger projects. The current stable version is 1.2.2, with its last update occurring in late 2022, suggesting a maintenance-oriented release cadence rather than active feature development. Its primary differentiator is its dedicated focus on integrating existing Vue 2 projects with the esbuild ecosystem, providing a lightweight and fast build solution without requiring an upgrade to Vue 3. It bridges the gap for projects still reliant on the Vue 2 framework, maintaining compatibility with its specific compilation requirements and ecosystem tooling, especially for scenarios where migrating to newer Vue versions is not immediately feasible. It's an alternative for projects looking to modernize their build pipeline using esbuild while remaining on Vue 2.","language":"javascript","status":"maintenance","version":"1.2.2","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install esbuild-vue","imports":["const vuePlugin = require('esbuild-vue');","import vuePlugin from 'esbuild-vue';","const esbuild = require('esbuild');"]},{"cmd":"yarn add esbuild-vue","imports":[]},{"cmd":"pnpm add esbuild-vue","imports":[]}],"homepage":null,"github":"https://github.com/apeschar/esbuild-vue","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/esbuild-vue","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/esbuild-vue/compatibility"}}