[5.4] update script browserlist:update - #46905
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the npm script for updating the browserslist database from the deprecated command to the current recommended approach. The browserslist database is used to ensure that CSS/JS transpilation targets the correct browser versions as defined in the project's browserslist configuration.
Changes:
- Updated the browserlist:update npm script to use
update-browserslist-db@latestinstead of the deprecatedbrowserslist@latest --update-dbcommand
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
I have tested this item ✅ successfully on 3d9cc36 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46905. |
|
Thanks @tecpromotion . |
Summary of Changes
This PR updates the deprecated --update-db command.
Testing Instructions
run
npm run browserlist:updateActual result BEFORE applying this Pull Request
Expected result AFTER applying this Pull Request
Link to documentations
Please select:
Documentation link for guide.joomla.org:
No documentation changes for guide.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed