Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@harnessa-fe/webpack

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@harnessa-fe/webpack

Native webpack plugin for Harnessa-FE: source-aware transforms, runtime injection, and MCP bridge. thread-loader compatible.

latest
Source
npmnpm
Version
2.1.0
Version published
Maintainers
1
Created
Source

@harnessa-fe/webpack

Webpack plugin for Harnessa-FE — the frontend harness for AI agents.

Source-aware transform + runtime injection + MCP bridge for Webpack projects. Tags every JSX element with data-morphix-loc / data-morphix-comp so AI agents can map any UI element back to a file:line:column.

Status: stable for React + Vue 2/3 on Webpack 5. thread-loader compatible as of this release.

Note: This package is now a hand-written webpack plugin, not a wrapper around unplugin.webpack. The change is invisible to users — same import, same options — but unblocks projects that put thread-loader anywhere in their loader chain (typical Vue 2 + TypeScript SFC builds). See .changeset/webpack-native-plugin.md for the why.

Install

pnpm add -D @harnessa-fe/webpack @harnessa-fe/runtime

Usage

// webpack.config.js
const { harnessaFE } = require('@harnessa-fe/webpack');

module.exports = {
    plugins: [harnessaFE()],
};

ESM:

import { harnessaFE } from '@harnessa-fe/webpack';

export default {
    plugins: [harnessaFE()],
};

The plugin auto-disables in production builds — zero overhead in your shipped bundle.

Options

Same as @harnessa-fe/vite. All bundler-specific plugins share the same option surface via the underlying unplugin.

Docs

License

MIT

FAQs

Package last updated on 22 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts