# @yarnpkg/esbuild-plugin-pnp

Latest version **3.0.0-rc.15** (published 2022-08-24) · BSD-2-Clause license · 0 weekly downloads

## Install

```sh
npm install @yarnpkg/esbuild-plugin-pnp
pnpm add @yarnpkg/esbuild-plugin-pnp
yarn add @yarnpkg/esbuild-plugin-pnp
bun add @yarnpkg/esbuild-plugin-pnp
```

## Health

**Score 35/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 3.0.0-rc.15 |
| Published | 2022-08-24 |
| First published | 2021-01-26 |
| Weekly downloads | 0 |
| License | BSD-2-Clause |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=14.15.0 |
| Dependencies | 1 |
| Unpacked size | 9.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 8106 |
| Maintainers | daniel15, sebmck, bestander, cpojer, arcanis, yarnbot |

## Links

- npm: https://www.npmjs.com/package/@yarnpkg/esbuild-plugin-pnp
- Repository: https://github.com/yarnpkg/berry
- npm.io page: https://npm.io/package/@yarnpkg/esbuild-plugin-pnp

## Dependencies (1)

- [tslib](https://npm.io/package/tslib.md) ^2.4.0

## Recent versions

- 3.0.0-rc.15 (latest) — 2022-08-24
- 3.0.0-rc.14 — 2022-07-21
- 2.0.3 — 2022-07-21
- 3.0.0-rc.12 — 2022-07-13
- 3.0.0-rc.11 — 2022-07-01
- 3.0.0-rc.10 — 2022-06-24
- 3.0.0-rc.9 — 2022-06-10
- 3.0.0-rc.8 — 2022-06-09
- 3.0.0-rc.7 — 2022-06-08
- 3.0.0-rc.6 — 2022-05-16
- 2.0.2 — 2022-05-13
- 3.0.0-rc.5 — 2022-05-09
- 3.0.0-rc.4 — 2022-05-01
- 3.0.0-rc.3 — 2022-04-26
- 3.0.0-rc.2 — 2022-04-12
- … 37 more at https://npm.io/package/@yarnpkg/esbuild-plugin-pnp/versions

## README

# `@yarnpkg/esbuild-plugin-pnp`

This plugin lets you use Yarn with esbuild. We use it in order to build Yarn itself!

## Usage

Add the plugin to your dependencies:

```
yarn add @yarnpkg/esbuild-plugin-pnp
```

Reference it via your esbuild configuration ([build API only](https://esbuild.github.io/plugins/)):

```ts
import {pnpPlugin} from '@yarnpkg/esbuild-plugin-pnp';

await build({
  plugins: [pnpPlugin()],
  // ...
});
```

---
_Source: https://npm.io/package/@yarnpkg/esbuild-plugin-pnp · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
