yarn builder build bundle
note
Build the local bundle.
Usage
$ yarn builder build bundle
Examples
Build the local bundle :
yarn builder build bundle
Build the local development bundle :
yarn builder build bundle --no-minify
Details
This command builds the local bundle - the Yarn binary file that is installed in projects.
For more details about the build process, please consult the @yarnpkg/builder
README:
https://github.com/yarnpkg/berry/blob/HEAD/packages/yarnpkg-builder/README.md.
Options
Definition | Description |
---|---|
| Only include plugins that are part of the the specified profile |
| An array of plugins that should be included besides the ones specified in the profile |
| Don't include the git hash of the current commit in bundle version |
| Build a bundle for development, without optimizations (minifying, mangling, treeshaking) |
| Includes a source map in the bundle |
| Emit a metafile next to the bundle |