Actually to switch from "development" to "production" or inverse, we have to run "npm" commands manually or automate by CI etc. but it takes a lot of time.
It will be very useful to get a button in the admin settings to switch to the environment we want (only for super admins)