vue-compiler-sfc-plugin
JSON →A Vue 3 SFC compilation helper that wraps @vue/compiler-sfc, providing build-time integration hooks for custom pipelines. Current stable version is 3.5.26, following Vue 3 minor releases for compatibility (e.g., 3.5.x supports Vue ^3.5.0). It re-exports key functions (parse, compileTemplate, compileScript, compileStyleAsync) from @vue/compiler-sfc. Differentiators: explicitly designed for tool authors needing separate SFC compilation outside of Vite or vue-loader; it extends the core compiler-sfc with plugin-friendly hooks.
Resources
packagevue-compiler-sfc-plugin ↗
API endpoints
full doc /v1/registry/vue-compiler-sfc-plugin