In Strapi, starting from version 4.11, when using Material-UI dependencies in a custom plugin, the initial server load time significantly increases

System Information
  • Strapi Version: 4.11 - 4.11.7
  • Operating System: macOS Ventura
  • Database: mongo
  • Node Version: 16 - 18
  • NPM Version: -
  • Yarn Version: -

Steps to reproduce:

  1. Create a Strapi app with version 4.11+.

  2. Add an empty plugin and add these dependencies to the plugin’s package.json:

yarn strapi generate plugin
"@emotion/styled": "^11.11.0", 
"@mui/icons-material": "^5.14.1", 
"@mui/material": "^5.14.1",
  1. Run the Strapi server with:
    npm run develop or yarn develop

  2. The application takes about 2 minutes to start, and subsequently operates very slowly.


Why does MUI affect Strapi in such a way in recent versions?
( In version 4.10.6 and below everything works fine )