docker-magento
docker-magento copied to clipboard
Magento 2.4.4 CSS source mappings
Description CSS source mappings doesnt seem to be working on Magento 2.4.4. Looks like a downgrade on grunt-contrib-less could potentially fix this issue. More info on https://stackoverflow.com/questions/73234428/why-not-showing-less-file-path-in-browser-after-running-grunt-in-magento2
Steps To Reproduce
- Setup grunt on magento 2.4.4 with livereload
Expected Result CSS source mappings showing up
Actual Result Compiled CSS being shown up
hi, just add this code sourceMapFileInline: 'true' to that file magento/dev/tools/grunt/configs/less.js inline 24
Is this still an issue for anyone on 2.4.5-p1?
I can confirm this is an issue with 2.4.6 Enterprise - see https://github.com/markshust/docker-magento/issues/878
hi, just add this code sourceMapFileInline: 'true' to that file magento/dev/tools/grunt/configs/less.js inline 24
👍This worked for me on 2.4.6.
Hi @danielcbell - I can confirm this worked for me too
hi, just add this code sourceMapFileInline: 'true' to that file magento/dev/tools/grunt/configs/less.js inline 24
this worked for me too (2.4.6 community)