Browserlist (caniuse-lite) DB needs updating on the frontend
zackkrida opened this issue · comments
Problem
Running the frontend development server or build includes the following warning:
WARN Browserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db@latest
Why you should do it regularly: https://github.com/browserslist/update-db#readme
Description
We should fix this, however npx update-browserslist-db@latest
doesn't work for us. If you run it in the monorepo root, it doesn't do anything because the bowserlist is in the frontend.
The best fix I can think of for us is that we explicitly add caniuse-lite
(the underlying package here) as a dev dependency in the frontend, and keep it up to date with our other packages.