patch-package
patch-package copied to clipboard
patch-package too slow
./node_modules/.bin/patch-package klinecharts
patch-package 8.0.0
β’ Creating temporary folder
β’ Installing [email protected] with npm
it tooks long time , Is there has --loglevel verbose
to see what hangs?
Our team has noticed bottlenecks with patch-package
in the build step. It takes 3 minutes to apply a two line patch to jest-environment-jsdom
π€ .
I switched to this one https://www.npmjs.com/package/custompatch as patch-package became impractical. Taking too much time to create patches, sometimes it doesnβt. And to my experience it's like there's a limited number of patches that can be created, because it has hard memory limitations https://github.com/ds300/patch-package/blob/c7c63bf80b3c6b8640b933e20229121b4edfc100/src/makePatch.ts#L253C7-L253C7. I tried increasing that limit, but it stopped creating patches.