mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com> Co-authored-by: zackradisic <zackradisic@users.noreply.github.com> Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
396 B
396 B
If you need to modify the contents of a package, call bun patch <pkg> with the package's name (and optionally a version),
for example:
$ bun patch react
This will copy the package to a temporary directory, where you can make changes to the package's contents.
Once you're done making changes, run bun patch-commit <temp-directory_path> to have Bun install the patched package.