@yarnpkg/esbuild-plugin-pnp
TypeScript icon, indicating that this package has built-in type declarations

3.0.0-rc.15 • Public • Published

@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):

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

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

/@yarnpkg/esbuild-plugin-pnp/

    Package Sidebar

    Install

    npm i @yarnpkg/esbuild-plugin-pnp

    Weekly Downloads

    3,238,374

    Version

    3.0.0-rc.15

    License

    BSD-2-Clause

    Unpacked Size

    9.62 kB

    Total Files

    4

    Last publish

    Collaborators

    • daniel15
    • bestander
    • cpojer
    • arcanis
    • yarnbot