@harnessa-fe/unplugin
Unified build plugin core for Harnessa-FE. Powers the Vite, Webpack, Rspack, esbuild, and Rollup adapters.
You normally do not install this directly — install the bundler-specific package instead:
Install (advanced)
pnpm add -D @harnessa-fe/unplugin
Usage
import { harnessaFE } from '@harnessa-fe/unplugin/vite';
For custom integrations, import the raw factory:
import { unplugin, unpluginFactory } from '@harnessa-fe/unplugin';
Public API
unplugin — pre-built unplugin instance (call .vite() / .webpack() / etc.)
unpluginFactory — raw factory for fully custom adapters
transformJsx — JSX/TSX source transform with location attribute injection
transformVueSFC — Vue SFC <template> transform
Docs
License
MIT