build-workspace
Like build, but when ran in the monorepo root, will build all packages in the
workspace, as denoted by the workspaces field in package.json.
package.json
{
"scripts": {
"build": "packemon build-workspace --addEngines"
}
}
Options
Supports all the same command line options as build, with the addition of:
--filter- Filter packages to build based on their name inpackage.json.--formats,-f- Only generate specific outputformats.--platforms,-p- Only target specificplatforms.