🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@clayroach/unplugin

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clayroach/unplugin

Universal bundler plugin for Effect transformations

latest
Source
npmnpm
Version
0.1.0-source-trace.5
Version published
Weekly downloads
10
66.67%
Maintainers
1
Weekly downloads
 
Created
Source

@effect/unplugin

Universal bundler plugin for Effect transformations.

Installation

npm install @effect/unplugin

Usage

Vite

// vite.config.ts
import effectPlugin from "@effect/unplugin/vite"

export default {
  plugins: [
    effectPlugin({
      sourceTrace: true
    })
  ]
}

Rollup

// rollup.config.js
import effectPlugin from "@effect/unplugin/rollup"

export default {
  plugins: [
    effectPlugin({
      sourceTrace: true
    })
  ]
}

Webpack

// webpack.config.js
const effectPlugin = require("@effect/unplugin/webpack").default

module.exports = {
  plugins: [
    effectPlugin({
      sourceTrace: true
    })
  ]
}

esbuild

import * as esbuild from "esbuild"
import effectPlugin from "@effect/unplugin/esbuild"

await esbuild.build({
  plugins: [
    effectPlugin({
      sourceTrace: true
    })
  ]
})

Rspack

// rspack.config.js
const effectPlugin = require("@effect/unplugin/rspack").default

module.exports = {
  plugins: [
    effectPlugin({
      sourceTrace: true
    })
  ]
}

Options

  • sourceTrace (boolean, default: true) - Enable source trace injection into Effect.gen yields
  • annotateEffects (boolean, default: false) - Enable @PURE annotations for tree-shaking
  • include (string[], default: ["**/*.ts", "**/*.tsx"]) - Glob patterns to include
  • exclude (string[], default: ["**/node_modules/**", "**/*.d.ts"]) - Glob patterns to exclude

FAQs

Package last updated on 20 Jan 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