Yarn Plug'n'Play vs Classic node_modules: Disk‑size vs Tooling Compatibility
The goal is to minimize storage overhead for a low‑traffic service by selecting either Yarn Plug'n'Play or the classic node_modules installation method. Plug'n'Play stores packages in a centralized .yarn folder and uses a pnp‑lock.yaml lockfile, which cuts the container image size but requires a custom resolver that may not reproduce every npm package behavi