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

fix(nx): rename browserlist file to browserslist #1654

Merged
merged 1 commit into from
Aug 1, 2019
Merged

fix(nx): rename browserlist file to browserslist #1654

merged 1 commit into from
Aug 1, 2019

Conversation

AdamVig
Copy link
Contributor

@AdamVig AdamVig commented Jul 29, 2019

  • fix(nx): rename browserlist file to browserslist
    According to the Browserslist docs,
    the file should be named browserslist. The previous name had a missing
    "s" in the middle.

    I do not know how browserslist is integrated in Nx and the Angular
    CLI, but it is possible that the configuration file was being ignored
    entirely due to this naming error. When the browserslist CLI does not
    find a configuration file, it uses a sensible default configuration, so
    it would not be obvious that the configuration file was ignored.

According to [the Browserslist docs](https://github.com/browserslist/browserslist#queries),
the file should be named `browserslist`. The previous name had a missing
"s" in the middle.

I do not know how `browserslist` is integrated in Nx and the Angular
CLI, but it is possible that the configuration file was being ignored
entirely due to this naming error. When the `browserslist` CLI does not
find a configuration file, it uses a sensible default configuration, so
it would not be obvious that the configuration file was ignored.
Copy link
Collaborator

@FrozenPandaz FrozenPandaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution! LGTM!

@FrozenPandaz FrozenPandaz merged commit 8c7c0b7 into nrwl:master Aug 1, 2019
@github-actions
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants