When specifying the plugin’s dependencies in the plugin’s own composer.json file, and adding the custom plugin as a dependency to the main roots project composer.json, composer installs the plugin’s dependencies in the roots vendor directory. Is this recommended? How should the plugin reference the autoloader, or should it assume it’s already available?
I had been including the plugin’s own vendor directory in the plugin directory itself (renamed “libs” to avoid .gitignore issues).
Any pointers greatly received!