Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

feature_request(config): support Browserslist

See original GitHub issue

1. Summary

It would be nice, if browser-update will support Browserslist.

2. Argumentation

What is Browserslist. For example, I use Browserslist in order to indicate AutoPrefixer, which browsers-prefixes required.

If browser-update will support Browserslist, users can use one configuration file for AutoPrefixer (and another tools) and browser-update. Users doesn’t need duplicate properties and values for AutoPrefixer and browser-update.

browserslist file of my site:

Last 2 versions
not Explorer > 0

This is equivalent to:


3. Example of expected behavior

If browserslist exist:

will use values from browserslist. User doesn’t need required property.


will use values of required property.


Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:3
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

nemchikcommented, Jun 10, 2022

I wrote up a little helper: With this, you can use getRequiredFromList(queries) to return the value of the required option accepted by browserUpdate.

Note: you have to supply queries ( see ) because the browser won’t know the contents of your .browserslistrc or be able to read it from anywhere else like package.json.

nemchikcommented, Sep 27, 2022

Thanks @andorfermichael I’ve added that change to my gist.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Feature Request:] add support for config file name ... - GitHub
Hi,. Configuration name *.config.js seems to be the most default/common value for most of majors libraries: webpack.config.js; babel.config.
Read more >
Support Edge Chromium browser for Protect
I've been using the beta builds of the new/upcoming Chromium based Edge browser and noticed that it pops an 'unsupported browser' warning in...
Read more >
Supported Browsers and Features | Create React App
The browserslist configuration controls the outputted JavaScript so that the emitted code will be compatible with the browsers specified.
Read more >
Add support for Google Chrome | Jira Server and Data Center
I filed a Support request about this issue, and I was recommended to file a Feature request for this, because Chrome is not...
Read more >
How to generate a browserslist scope to match feature support?
I am not sure what you mean by "I can't use browserslist directly, because the scope does not accept a list of features...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found