Skip to content

Specify path for browserslist.rc #1595

Discussion options

You must be logged in to vote

Hi @thomasmattheussen,

There is no such option.

But you can use the browsers option to achieve a similar result.
This gives you the option to call browserslist yourself in JavaScript and pass the result.

Likewise browserslist itself has the BROWSERSLIST_CONFIG override option: https://github.com/browserslist/browserslist?tab=readme-ov-file#browserslistrc


Maybe we should expose the path setting, or even allow an object config the we just pass through?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@thomasmattheussen
Comment options

@thomasmattheussen
Comment options

Answer selected by thomasmattheussen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants