I want to know that how to remove unused plugins from ionic project?
#You can see all plugins installed with this command
$ ionic cordova plugins list
cordova-clipboard 1.1.0 "Clipboard"
cordova-custom-config 4.0.2 "cordova-custom-config"
cordova-plugin-add-swift-support 1.7.0 “AddSwiftSupport”
…
#And can remove any plugin with this
ionic cordova plugins rm cordova-clipboard
I think you didn’t understand my question correctly.
I want to remove plugins which is not referenced/used in project.
You list the plugins, then run the remove command for those you are not using.
There is no command that automatically knows what plugins are used and which are not.
2 Likes