dependencies: - core/jquery - core/drupal
mymodule is my module name).
How do I ensure Drupal "sees" these new dependencies?
For example, can I clear the cache,
drush cr ?
Or is there another drush command to run or something else to do?
When does Drupal read the
info.yml file? When module enabled - yes - but what other times?
I would prefer a command to get it to read that file rather than uninstall my module and reenable my module as this could be inconvenient with regard to config/content needing to be re-setup.
I'm working on solving a problem where anonymous users see
Uncaught ReferenceError: Drupal is not defined in console, based on a solution that adds the dependencies I mentioned above: Anonymous Users See Uncaught ReferenceError: Drupal is not defined In console.
Potentially related: jQuery not Loading for “Anonymous” Users