Description
This issue is automatically created based on existing pull request: #31618: Update lessjs to v3.13.1
Description (*)
Update old version to recently newer
2.3.1 to 3.13.1
Current magento used lessjs v2.3.1.
Official version is https://cdn.jsdelivr.net/npm/[email protected]
https://www.jsdelivr.com/package/npm/less
For maintain compatible we can stay at v3 for a while!. Current official less released v4.1.0
Official less website http://lesscss.org/
This file allow to browser compile less file to css on-flies. Allow developer can check styles from browser without need run deploy ! Note this feature not work in production mode
Idealy lessjs the version should be same as lessphp compile version
Related Pull Requests
Fixed Issues (if relevant)
No issue available
Manual testing scenarios (*)
- Enable developer mode
- Enable Client side compilation in Advanced Configuration
(Stores > Configuration > Advanced > Developer
Frontend Development Workflow => Workflow type : Client side less compilation) - Save and clear cache config admin
- Go to frontend and verify page render properly without break or glitch
- Change package.json.sample => package.json
- Install package by command npm install
- from commandline run
node_modules/.bin/lessc --version and check properly version less
Questions or comments
CC: @Leland @krzksz @ptylek what do you guys think on this ?
Contribution checklist (*)
- Pull request has a meaningful description of its purpose
- All commits are accompanied by meaningful commit messages
- All new or changed code is covered with unit/integration tests (if applicable)
- All automated tests passed successfully (all builds are green)