yireo / magento2-replace-all

Meta-package to replace all optional Magento 2 modules
129 stars 32 forks source link

Exclude specific module from being replaced? #26

Closed Aquive closed 2 years ago

Aquive commented 2 years ago

Hi,

What is the best approach to exclude a specific module from being excluded? In my case, magento/module-customer-import-export. Just tried to overrule the replace with a require magento/module-customer-import-export which doesn't work, unfortunately.

Is there an easy way? What is the advised approach?

jissereitsma commented 2 years ago

You can't. Copy the replace rules of this meta-package in your own composer.json and then modify it at will ...

Aquive commented 2 years ago

Thanks for your reply!