|
6 ヶ月 前 | |
---|---|---|
.. | ||
lib | 6 ヶ月 前 | |
node_modules | 6 ヶ月 前 | |
README.md | 6 ヶ月 前 | |
package.json | 6 ヶ月 前 |
This plugin lets you use Yarn with esbuild. We use it in order to build Yarn itself!
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()],
// ...
});