[wp-trac] [WordPress Trac] #64900: Improve `browserslist:update` Grunt task

WordPress Trac noreply at wordpress.org
Thu Mar 19 13:22:03 UTC 2026


#64900: Improve `browserslist:update` Grunt task
------------------------------+----------------------------
 Reporter:  desrosj           |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  7.0.1
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:  good-first-bug
  Focuses:                    |
------------------------------+----------------------------
 The `browserslist:update` Grunt task was previously run as a part of the
 `sync-gutenberg-packages` script when the `update-browserlist` flag was
 specified.

 This script was removed in [62062], but the `browserslist:update` task was
 left in place because it should still be run periodically.

 The task should be re-surfaced somewhere in the relevant build scripts
 (maybe added to `precommit:css` or as a script in `package.json`), or
 documented somewhere so it's clear when/how it should be used.

 The `npx browserslist at latest --update-db` command is run for the task, but
 the `--update-db` command is deprecated. This should be replaced with `npx
 update-browserslist-db at latest`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64900>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list