Development and Release versionof an Ionic App

Hello everybody,
I am following the tutorial on Publishing Your App.
I see that I have to remove some cordova plugin.

cordova plugin rm cordova-plugin-console

This means that for further coding over the app I have to reinstall it again, right? And then every time I want to release updates i have to remove it again? Or copy the folder, make the release and then delete it. Is there any better workflow?

Also, do I have to remove only this plugin or is there a chance that I have installed other plugins not required for the release version of my app?

Thanks everybody for helping.