@@ -115,8 +115,7 @@ Others:
115
115
116
116
* [ ` browserslist-rs ` ] is a Browserslist port to Rust.
117
117
* [ ` browserslist-update-action ` ] is a GitHub Action to automatically
118
- runs ` npx browserslist@latest --update-db ` and proposes a pull request
119
- to merge updates.
118
+ runs ` update-browserslist-db ` and proposes a pull request to merge updates.
120
119
* [ ` browserslist-browserstack ` ] runs BrowserStack tests for all browsers
121
120
in Browserslist config.
122
121
@@ -171,20 +170,7 @@ These extensions will add syntax highlighting for `.browserslistrc` files.
171
170
172
171
## Browsers Data Updating
173
172
174
- ` npx browserslist@latest --update-db ` updates ` caniuse-lite ` version
175
- in your npm, yarn or pnpm lock file. This update will bring data about
176
- new browsers to polyfills tools like Autoprefixer or Babel and reduce
177
- already unnecessary polyfills.
178
-
179
- You need to do it regularly for three reasons:
180
-
181
- 1 . To use the latest browser’s versions and statistics in queries like
182
- ` last 2 versions ` or ` >1% ` . For example, if you created your project
183
- 2 years ago and did not update your dependencies, ` last 1 version `
184
- will return 2 year old browsers.
185
- 2 . Actual browsers data will lead to using less polyfills. It will reduce
186
- size of JS and CSS files and improve website performance.
187
- 3 . ` caniuse-lite ` deduplication: to synchronize version in different tools.
173
+ See [ ` update-browserslist-db ` docs] ( https://github.com/browserslist/update-db#readme )
188
174
189
175
190
176
## Queries
0 commit comments