How to remove plugin from paypal in ionic 3

I have installed PayPal plugin, after installing the plugin, it automatically installed the plugin, plugin folder have 270mb, this plugin increase my build apk with prod mode more than 20mb,

  1. after removing the forcefully, apk not building
  2. after removing PayPal, my apk build smaller than 8 MB

so I need Paypal plugin without