Plugins
| API | Purpose |
|---|---|
componentRegistry | Generate Vue component exports and global types |
routerMeta | Generate a route-file to component-name JSON map |
svgIcons | Generate independent Vue icon components and an index |
cdnImport | Map ESM imports to CDN-provided browser globals |
buildInfo | Emit build metadata, a dev endpoint, and virtual module |
bundleBudget | Enforce per-file or total raw/compressed size budgets |
compression | Emit gzip and Brotli precompressed assets |
subresourceIntegrity | Inject SRI hashes for local JavaScript and CSS |
devRestart | Restart dev when external configuration files change |
staticCopy | Safely copy or transform build-time static assets |
virtualModules | Declare static or dynamic virtual ESM modules |
envGuard | Validate environment variables without logging values |
htmlTemplate | Replace escaped HTML placeholders and inject tags |
