How it works
yarn.BUILD doesn't build anything itself. It keeps track of what has been built, and what order packages need to be built in.
When you run
yarn build in the directory of a package, it
will call the
build script in
If you run
yarn build from any other directory in your
yarn workspaces, your whole project will be built.
yarn build path/to/package to build just that
package (or packages in that folder), and their dependencies.
At any time you can add
--ignore-cache to force a re-run.