You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expectation: both libraries should be installed in web/libraries but only codesnippet lands there and the chosen library goes into the vendor directory. I guess this is because that library comes with a composer.json which declares the type as library which seems to overwrite my type drupal-library.
I've then tried to add "harvesthq/chosen" to extra / installer-paths / web/libraries array but that made no difference.
My question is: how do I get the chosen library into the web/libraries path?
The text was updated successfully, but these errors were encountered:
The installation work fine if the version string in repositories/package and in require are exactly the same. But only if really the same.
However, if the version string is master, it doesn't work and always stores the library in vendor directory.
Also, if the drupal-library is required by another package (not by the root project), it will always be installed in vendor and not in the installer path defined in extras.
Hope, those further aspects help to identify and fix the issue.
Used versions:
Context: Drupal project
Here is an extract of my composer.json:
Expectation: both libraries should be installed in
web/libraries
but only codesnippet lands there and the chosen library goes into thevendor
directory. I guess this is because that library comes with a composer.json which declares the type as library which seems to overwrite my type drupal-library.I've then tried to add
"harvesthq/chosen"
to extra / installer-paths / web/libraries array but that made no difference.My question is: how do I get the chosen library into the web/libraries path?
The text was updated successfully, but these errors were encountered: