grunt-docs icon indicating copy to clipboard operation
grunt-docs copied to clipboard

Grunt compile but not display source map .less in browser In magento 2

Open gaurav-infino opened this issue 3 years ago • 0 comments

Grunt Isuue with grunt-contrib-less in magento 2.4.4 or upper level version, grunt compile & genrate new css but not display source map .less in browser.

i have use magento 2.4.4 and 2.4.5 , this issue happen on both of versions. i have configure grunt properly & its css compile working but does not show source map in browser inspect element : like .less format. i have found issue in package.json "grunt-contrib-less": "~2.1.0" change in to "grunt-contrib-less": "~1.4.1" downgrade version & it's appear source with .less format on browser inspect element & work perfectly. so may i know why issue happen in "grunt-contrib-less": "~2.1.0". please give me any solution.

"grunt-contrib-less": "~2.1.0" > "grunt-contrib-less": "~1.4.1" npm install

thanks in advance

Gaurav

gaurav-infino avatar Aug 24 '22 06:08 gaurav-infino