yireo / magento2-replace-tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Undo replace

mortenbirkelund opened this issue · comments

Awesome tool you have created. Really helpful for dealing with the bloatware that Adobe is adding to Magento2 these days.

Lets say I want to replace everything you suggested using the replace-all, but I have one or 2 packages I want to exclude from this. Is there a way to still use your tool, and then just add these 2 packages in the composer.json in some way so that they are not replaced? It would make a neater composer.json than having to manually copy past all your replaces except the 2 packages I don't want to replace.

I hope you have some experience with this and can help me out. Thanks in advance.

No, unfortunately composer doesn't offer this as an option. It is either to use the replace rules from the package all-in-one, or copy them to your local composer.json.

@jissereitsma Thank you for the quick answer.