Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue when creating components probably due to lodash #116

Open
mariohernandez opened this issue Jul 10, 2021 · 0 comments
Open

Issue when creating components probably due to lodash #116

mariohernandez opened this issue Jul 10, 2021 · 0 comments
Assignees

Comments

@mariohernandez
Copy link
Contributor

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants