DEV Community

Paboda Hettiarachchi
Paboda Hettiarachchi

Posted on

Patch module

Add the following in composer.json

"repo": {
"type": "composer",
"url": "https://repo.magento.com"
}

"scripts": {
"post-install-cmd": [
"@applyPatches"
],
"post-update-cmd": [
"@applyPatches"
],
"applyPatches": "@php vendor/bin/ece-patches apply -n --ansi"
},

  • Install the module composer require magento/magento-cloud-patches

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay