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