Hosting Admin Panel and API Seperately

System Information
  • Strapi Version: 3.3.2
  • Operating System: Windows
  • Database: MongoDB
  • Node Version: 12.18.3
  • NPM Version: 12.18.8
  • Yarn Version:

Hi ,
There is the documentation for this here but even so decouple doesn’t make much of a sense because all the module are packed into the API .

Is there a way while deploying on the API to only consider the needed node modules for the API and not the admin panel?