browserslist: Shareable configuration on monorepo fails due to incompatible lockfiles

Hi there,

Considering this directory structure:

ParentProject
   package.json
   .browserlistrc
   ...
   src
        packages
            foo
                package.json
                ...

How can have the project foo have access to the .browserlistrc resolved config from ParentProject?


EDIT: After further investigation, we realized the root cause of this issue is that foo project had an outdated lock file that was causing browserslist to resolve to a different query instead of using the same dependencies that are defined in the package which contains .browserlistrc

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 16 (7 by maintainers)

Commits related to this issue

Most upvoted comments

If it is a bug, can you provide extra information to reproduce the problem? Maybe create a simple example?

I am going to sleep right now and will answer you tomorrow.