JSPM

  • Created
  • Published
  • Downloads 1222331
  • Score
    100M100P100Q229155F
  • License BSD-2-Clause

Package Exports

  • @yarnpkg/esbuild-plugin-pnp

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@yarnpkg/esbuild-plugin-pnp) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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

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

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