Specify path for browserslist.rc #1595
-
| Is there any way to say to postcss-preset-env where it should look for the .browserslistrc file? I'm running a monorepo setup and I have my .browserslistrc file sitting in the monorepo root, where other packages also access it from. | 
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
| There is no such option. But you can use the  Likewise  Maybe we should expose the  | 
Beta Was this translation helpful? Give feedback.
Hi @thomasmattheussen,
There is no such option.
But you can use the
browsersoption to achieve a similar result.This gives you the option to call
browserslistyourself in JavaScript and pass the result.Likewise
browserslistitself has theBROWSERSLIST_CONFIGoverride option: https://github.com/browserslist/browserslist?tab=readme-ov-file#browserslistrcMaybe we should expose the
pathsetting, or even allow an object config the we just pass through?