Apply patches from non-root packages #540
-
We have a Laravel package Is this by design and are patches only applied when configured in a root package or am I missing something? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
If you're on 1.x, see the readme heading "Allowing patches to be applied from dependencies". If you're on 2.x, see https://www.cweagans.net/2023/07/dependency-patch-resolution/ heading "Moving forward". |
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick reply! And my bad, I failed to look for the 1.x docs in the right branch :/ I'm able to apply patches from my dependency now by setting the When patching from a dependency the path needs to be prefixed with the Is there a way to make it work in both scenarios without having to change the
|
Beta Was this translation helpful? Give feedback.
Nope, sorry. Upload the patch somewhere and use the URL instead.