Created
September 15, 2022 10:02
-
-
Save shafayeatsumit/dd504eafe397c75d2829acd647bbe055 to your computer and use it in GitHub Desktop.
using patch packages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
step 1. yarn add -D patch-package postinstall-postinstall | |
step 2. make change to the files | |
setp 3. # run patch-package to create a .patch file | |
npx patch-package some-package | |
you will see a new folder is created inside `patches` | |
step 4. | |
"scripts": { | |
"postinstall": "patch-package" | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment