How do you build plugins if one doesn't want to publish it to npm?

System Information
  • Strapi Version: 4.9.1
  • Operating System: macos
  • Database: postgres
  • Node Version: 18
  • NPM Version: -
  • Yarn Version: 1.22.19

Why is that i’ve to build each plugin manually and then do the actual build before deployment? Why doesn’t the yarn build build plugins folder? :confused:

Is there any guide around this?