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
The theme generator seems to have a bug related to lodash. If a component is created using npm run generate and the theme name contains multiple words as a single string, lodash creates a new themename.libraries.yml file using the theme name but separating the theme name by an underscore. For example, when I used the theme name drupal9_theme when prompted for my theme name when creating a new component, the generator created a new *.libraries.yml file called drupal_9_theme.libraries.yml.
Solution
Please remove lodash as this is not a requirement by a drupal theme. If lodash is required in a project, it can be added on that project.
The text was updated successfully, but these errors were encountered:
The theme generator seems to have a bug related to lodash. If a component is created using
npm run generate
and the theme name contains multiple words as a single string, lodash creates a newthemename.libraries.yml
file using the theme name but separating the theme name by an underscore. For example, when I used the theme namedrupal9_theme
when prompted for my theme name when creating a new component, the generator created a new*.libraries.yml
file calleddrupal_9_theme.libraries.yml
.Solution
The text was updated successfully, but these errors were encountered: