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
Contrib often requires libraries to be installed to Drupal's docroot/libraries in a specifically named directories that can differer from the defaults provided by the libraries themselves. The webform module is an example. Although it provides drush commands and a drush make file, it does not out of the box provide a composer friendly solution.
Proposed resolution:
Add the name property to installer-paths for type:drupal-library in the template composer.json.
Problem/Motivation:
Contrib often requires libraries to be installed to Drupal's
docroot/libraries
in a specifically named directories that can differer from the defaults provided by the libraries themselves. The webform module is an example. Although it provides drush commands and a drush make file, it does not out of the box provide a composer friendly solution.Proposed resolution:
Add the
name
property toinstaller-paths
fortype:drupal-library
in the template composer.json.This will allow specifying an arbitrary the directory name in
docroot/libraries
for libraries installed with composer. Example below.The text was updated successfully, but these errors were encountered: