How to edit Cordova plugin code from a Capacitor Project

I am building an app with Ionic WebServer

I like to modify the plugin code for some custom behaviour.

But i noticed that by default

ionic capacitor update

Will download a new version of plugin.

So how can i modify or edit the downloaded Cordova/Capacitor plugin?

you would have to manually update that section of the plugin each time after running ionic cap update.

1 Like

npm link.

1 Like