JSPM

  • Created
  • Published
  • Downloads 5867
  • Score
    100M100P100Q125651F
  • License BSD-2-Clause

Package Exports

  • @yarnpkg/builder/package.json

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/builder) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@yarnpkg/builder

A CLI tool designed for creating, building, and managing complex plugins.

This version of the builder is for creating plugins for Yarn 3.x. Yarn 3 plugins are not compatible with Yarn 2 installations, however Yarn 2 plugins are usually compatible with Yarn 3. If you wish to create plugins for Yarn 2, please use v2.x of the builder (yarn add @yarnpkg/builder@^2).

Features

  • builder new plugin command for scaffolding new plugins
  • builder build bundle command for building complex plugins
  • supports TypeScript out-of-the-box
  • supports custom Babel configurations out-of-the-box
  • uses Webpack internally, providing treeshaking, minification, and various other optimizations out-of-the-box

Installation

yarn add -D @yarnpkg/builder typescript

Commands