Building, Bundling and Packaging
Yarn
Published articles in Building, Bundling and Packaging / Yarn.
More articles in this area
Yarn
Yarn keeps one zip of each package and, by default, points Node at those zips instead of copying them into node_modules. This page explains that layout, how it compares with npm, pnpm, and Bun, and the commands you run day to day.
Yarn link
yarn link is a command that allows you to link a local npm package to your current project. Why is that useful? To consume code of a package you usually simply install the package as a dependency to…