- Issue created by @swirt
- πΊπΈUnited States swirt Florida
Notes here on adding external dependencies https://www.drupal.org/docs/creating-custom-modules/add-a-composerjson-file β
Requires installation of https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js into site libraries/mermaid directory. Would like to automate this in the future or allow choice between local or CDN (Webform has a nice example of this). At minimum we still need to detect if this library is present.
Currently libraries is specifying the cdn source.
Ideally we should look into adding this as a requirement to the modules composer.json so that composer install will bring the file in and put it in the libraries/mermaid directory.
Active
1.0
Code
Notes here on adding external dependencies https://www.drupal.org/docs/creating-custom-modules/add-a-composerjson-file β