通过composer.json移除第三方插件

668 浏览M2安装设置composer.json

通过composer.json移除第三方插件

把下面这段json加入composer.json就可以移除掉第三方插件

"replace": {
    "dotmailer/dotmailer-magento2-extension": "*",
    "dotmailer/dotmailer-magento2-extension-enterprise": "*",
    "dotmailer/dotmailer-magento2-extension-package": "*",
    "klarna/module-core": "*",
    "klarna/module-ordermanagement": "*",
    "klarna/module-kp": "*",
    "klarna/m2-payments": "*",
    "vertex/module-tax": "*",
    "vertex/module-address-validation": "*",
    "vertex/product-magento-module": "*",
    "yotpo/magento2-module-yotpo-reviews": "*",
    "yotpo/magento2-module-yotpo-reviews-bundle": "*",
    "temando/module-shipping-remover": "*",
    "temando/module-shipping": "*",
    "magento/module-dhl": "*",
    "magento/module-fedex": "*",
    "magento/module-marketplace": "*",
    "amzn/login-with-amazon-module": "*",
    "amzn/amazon-pay-module": "*",
    "amzn/amazon-pay-and-login-with-amazon-core-module": "*",
    "paypal/module-braintree-core": "*",
    "paypal/module-braintree-graph-ql": "*",
    "magento/google-shopping-ads": "*",
    "magento/module-google-optimizer": "*",
    "magento/module-google-analytics": "*",
    "magento/module-google-adwords": "*",
    "magento/module-new-relic-reporting": "*",
    "magento/module-cardinal-commerce": "*",
    "magento/module-ups": "*",
    "magento/module-sample-data": "*",
    "magento/module-usps": "*",
    "magento/module-weee": "*",
    "magento/module-weee-graph-ql": "*"
},
更改状态以发布
0
Speed Up Your Magento Store by 300%