How to add a local Cordova plugin from projects folder


#1

I am using Capacitor with Ionic and Angular. The project setup of the app has a Angular library setup at projects and I added a cordova plugin to the projects folder.

How can I tell capacitor to also include the plugin from the projects folder?

Right now, I added a file URL in the package.json and npm or yarn copies the plugin into the node_modules folder.

My goal is to have a separated plugin development in the projects folder. I want to provide the plugin also to other apps. In this project, it should take it from the local folder and not the node_modules.

Thanks a lot,
Timo