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

4.80K 浏览M2安装设置composer.json

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

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

2.4.3 实测

"replace": {
"amzn/amazon-pay-and-login-with-amazon-core-module": "*",
"amzn/amazon-pay-module": "*",
"amzn/login-with-amazon-module": "*",
"dotmailer/dotmailer-magento2-extension": "*",
"dotmailer/dotmailer-magento2-extension-graph-ql": "*",
"dotmailer/dotmailer-magento2-extension-chat": "*",
"dotmailer/dotmailer-magento2-extension-chat-graph-ql": "*",
"dotmailer/dotmailer-magento2-extension-sms": "*",
"klarna/module-core": "*",
"klarna/module-ordermanagement": "*",
"klarna/module-kp": "*",
"klarna/module-kp-graph-ql": "*",
"klarna/module-onsitemessaging": "*",
"paypal/module-braintree-core": "*",
"paypal/module-braintree-graph-ql": "*",
"temando/module-shipping-remover": "*",
"vertexinc/module-tax": "*",
"vertexinc/module-address-validation-api": "*",
"vertexinc/module-request-logging-api": "*",
"vertexinc/module-request-logging": "*",
"vertexinc/module-address-validation": "*",
"magento/module-weee": "*",
"magento/module-weee-graph-ql": "*",
"magento/module-usps": "*",
"magento/module-ups": "*",
"magento/module-new-relic-reporting": "*",
"magento/module-fedex": "*",
"magento/module-dhl": "*",
"magento/module-marketplace": "*",
"magento/google-shopping-ads": "*",
"magento/module-google-optimizer": "*",
"magento/module-google-analytics": "*",
"magento/module-google-adwords": "*",
"magento/module-cardinal-commerce": "*"
}

更改状态以发布
0