Files
bun.sh/docs/cli/patch.md
Zack Radisic c85dd4e3bf feat: bun patch (#11470)
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>
2024-06-06 17:48:05 -07:00

11 lines
396 B
Markdown

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:
```bash
$ 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.