browserslist / browserslist

🦔 Share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-preset-env

Home Page:https://browsersl.ist

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

update-browserslist-db doesn't work with bun

alec-c4 opened this issue · comments

Hey!
May i ask you to add support for bun/bunx?

$ bunx update-browserslist-db@latest                                                                                                ⬢ 20.8.1 13:51:01
update-browserslist-db: No lockfile found. Run "npm install", "yarn install" or "pnpm install"

Duplicate browserslist/update-db#25

Please send PR

@ai ok, may I ask you 'bout importmaps / tailwind? I've created project with -j importmap -c tailwind, but ...

16:20:43 css.1  | Browserslist: caniuse-lite is outdated. Please run:
16:20:43 css.1  |   npx update-browserslist-db@latest
16:20:43 css.1  |   Why you should do it regularly: https://github.com/browserslist/update-db#readme
16:20:43 css.1  |
16:20:43 css.1  | Rebuilding...

How to avoid similar warnings?

How to avoid similar warnings?

Update caniuse-lite by any way (you can use some Bun tool for that too).