Important: This documentation covers Yarn 2.
For 1.x docs, see classic.yarnpkg.com.
Yarn
builder build bundlebuilder build pluginbuilder new plugin

builder build bundle

Build the local bundle.

Usage

$> builder build bundle

Examples

Build the local bundle :

builder build bundle

Build the local development bundle :

builder build bundle --no-minify

Options

Definition
Description

--profile #0

Only include plugins that are part of the the specified profile

--plugin #0

An array of plugins that should be included besides the ones specified in the profile

--no-git-hash

Don't include the git hash of the current commit in bundle version

--no-minify

Build a bundle for development, without optimizations (minifying, mangling, treeshaking)

--source-map

Includes a source map in the bundle

Details

This command builds the local bundle - the Yarn binary file that is installed in projects.