Disable Email and Upload plugins

System Information
  • Strapi Version: v4
  • Operating System: Windows
  • Database: MySQL
  • Node Version: 16.x.x
  • NPM Version: 7.x.x
  • Yarn Version: 1.22.18

I need to remove or at least disable the following plugins since they are not functionalities the users are allowed to perform:

  • Email
  • Upload

So long as they are not listed in the package.json file the removal of @strapi/plugin-email and @strapi/plugin-upload using yarn is not possible. How can I do?

I really hope someone can help me with this.

I would like to know this as well. I tried setting enabled: false for the upload plugin in my plugins.js, but it does not do the trick.

// .config/plugins.js

module.exports = ({ env }) => ({
  upload: {
    enabled: false, // does't work, plugin stays enabled

It looks like the automatic plugins discovery trumps the Manual enabling/disabling?


have you find solution yet,
i also want to disable default upload plugin but not get any solution yet.
i want to overide (admin) this upload plugin .