Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gaurav-infino opened this issue Aug 24, 2022 · 0 comments

Comments

@gaurav-infino
Copy link

gaurav-infino commented Aug 24, 2022

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 gaurav-infino changed the title Grunt Isuue with grunt-contrib-less in magento 2.4.4 or upper level version Grunt compile but not display source map .less in browser In magento 2 Sep 6, 2022
@Krinkle Krinkle transferred this issue from gruntjs/grunt-docs Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant