Using Patch-package to Tuning CSS in 3rd Party Packages Dec 31st, 2021 • Permalink Add patch-package Add patch-packageCopyyarn add patch-package postinstall-postinstall Apply the change Open sublime-text and modify the source code Generate the patch Generate the patchCopyyarn patch-package viewerjs Auto patch Auto patchCopy "private": true, + "scripts": { + "postinstall": "patch-package" + }, "dependencies": {