#23887Adding new extensions to Strapi admin panel uses a huge memory amount
Issue Details
Node Version
20.16.0
NPM/Yarn/PNPM Version
10.8.1
Strapi Version
15.5.1
Operating System
Linux (Debian/Ubuntu)
Database
PostgreSQL
Javascript or Typescript
Typescript
Reproduction URL
No response
Bug Description
Im creating a e commerce cms, in which I have 17 content-types, and I needed to add a simple statistics page, just to bundle it with the cms and dont create a separate project for it. However, I tried to build the project locally on my laptop which has 12gb ram, 512gb storage and i5 11k, and it failed because it was running out of memory, I also tried a different device still same issue. The root of the issue is the extension, which is a complete separate app by it self, frontend and backend, I dont understand why would need to create a full React project just to add a simple extension? I removed the extension and the build was successful. For now I just removed the extension, but what option do we have for such issues? this makes the admin panel extension very not useful.
Steps to Reproduce
1- create new strapi app.
2- add couple content-types ( I have 17 in my case)
3- create a new extension following this guide https://docs.strapi.io/cms/admin-panel-customization/extension
4- run npm run build
Expected Behavior
It should not use so much memory
Logs
Code Snippets
No response
Media
No response
Additional information
No response
Confirmation Checklist
- I have checked the existing issues for duplicates.
- I agree to follow this project's Code of Conduct.